Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008749/0.008749, allocations: 96.45 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 196.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05975/0.05975, allocations: 10.75 MB / 280.7 MB, free: 10.42 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 72.11 kB / 390.3 MB, free: 5.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.297, allocations: 49.01 MB / 439.4 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003392/0.3004, allocations: 2.275 MB / 441.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3018, allocations: 0.645 MB / 442.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.302, allocations: 10.81 kB / 442.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.3022, allocations: 71.23 kB / 442.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.3024, allocations: 51.64 kB / 442.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.3032, allocations: 326.8 kB / 442.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007054/0.3039, allocations: 0.6478 MB / 443.4 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.3041, allocations: 100.3 kB / 443.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.3044, allocations: 210.8 kB / 443.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.3046, allocations: 204.1 kB / 443.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.804e-05/0.3047, allocations: 37.34 kB / 443.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.3048, allocations: 37.28 kB / 444 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.305, allocations: 149.1 kB / 444.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.3052, allocations: 208.3 kB / 444.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.3057, allocations: 477.1 kB / 444.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3058, allocations: 0 / 444.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3058, allocations: 0 / 444.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3058, allocations: 0 / 444.8 MB, free: 1.754 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001327/0.3071, allocations: 0.7577 MB / 445.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3072, allocations: 9.781 kB / 445.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.334e-05/0.3072, allocations: 73.78 kB / 445.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.3073, allocations: 53.27 kB / 445.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.3079, allocations: 443.5 kB / 446.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.308, allocations: 27.7 kB / 446.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.3081, allocations: 34.25 kB / 446.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.3087, allocations: 405.2 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.3088, allocations: 14.38 kB / 446.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.3088, allocations: 15.16 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.3088, allocations: 8.5 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.3094, allocations: 304.4 kB / 446.9 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.3116, allocations: 1.587 MB / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.312, allocations: 205.1 kB / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.3122, allocations: 99.41 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.3122, allocations: 2.656 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3123, allocations: 39.8 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.3123, allocations: 0 / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006729/0.313, allocations: 329.3 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.313, allocations: 53.25 kB / 449.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.3135, allocations: 468.9 kB / 449.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3136, allocations: 29.7 kB / 449.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.3138, allocations: 275.8 kB / 449.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.054e-05/0.3139, allocations: 77.16 kB / 450 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.314, allocations: 69.7 kB / 450.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3142, allocations: 353.4 kB / 450.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.3143, allocations: 98.08 kB / 450.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.3146, allocations: 219.9 kB / 450.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.3162, allocations: 0.586 MB / 451.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3162, allocations: 1.625 kB / 451.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006173/0.3168, allocations: 414.4 kB / 451.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3168, allocations: 6.875 kB / 451.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3169, allocations: 4.062 kB / 451.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3169, allocations: 10.64 kB / 451.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.3173, allocations: 91.66 kB / 451.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.3173, allocations: 10.55 kB / 451.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.3175, allocations: 41.61 kB / 451.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.3175, allocations: 21.56 kB / 451.9 MB, free: 12.74 MB / 334.1 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P12.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P11.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (controller2.TS_in,controller1.TS_in,controller2.ATreq_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002515/0.3178, allocations: 204.7 kB / 452.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/0.3179, allocations: 42.22 kB / 452.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005856/0.3185, allocations: 309.2 kB / 452.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3185, allocations: 3.375 kB / 452.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.3185, allocations: 0 / 452.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3185, allocations: 3.984 kB / 452.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.319, allocations: 414.7 kB / 452.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.319, allocations: 0 / 452.9 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.3194, allocations: 71.33 kB / 452.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3194, allocations: 6.031 kB / 452.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3194, allocations: 6.125 kB / 453 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.3194, allocations: 1 kB / 453 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3194, allocations: 0 / 453 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/0.3202, allocations: 499.7 kB / 453.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3204, allocations: 121.6 kB / 453.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.3204, allocations: 10.38 kB / 453.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3206, allocations: 7.469 kB / 453.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.3206, allocations: 19.84 kB / 453.6 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3207, allocations: 9.5 kB / 453.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000468/0.3211, allocations: 323.5 kB / 453.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3211, allocations: 0 / 453.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.3215, allocations: 62.23 kB / 454 MB, free: 11.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.3226, allocations: 1.028 MB / 455 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.3232, allocations: 269.1 kB / 455.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3232, allocations: 0 / 455.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.3234, allocations: 120.7 kB / 455.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.3238, allocations: 38.89 kB / 455.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/0.3291, allocations: 3.868 MB / 459.3 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.3297, allocations: 0.8538 MB / 460.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.3299, allocations: 66.17 kB / 460.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.3301, allocations: 146.5 kB / 460.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3301, allocations: 4 kB / 460.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.3582, allocations: 6.808 MB / 467.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.728, allocations: 5.312 kB / 467.2 MB, free: 0.6875 MB / 334.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1)