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.005186/0.005186, allocations: 106.3 kB / 15.74 MB, free: 6.449 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.001295/0.001295, allocations: 195.1 kB / 16.67 MB, free: 6.352 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.654/1.654, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0647/0.0647, allocations: 10.74 MB / 280.7 MB, free: 10.37 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.002083/0.002083, allocations: 71.89 kB / 390.3 MB, free: 5.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 49.02 MB / 439.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003381/0.3378, allocations: 2.287 MB / 441.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3393, allocations: 0.6428 MB / 442.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.3396, allocations: 9.844 kB / 442.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.3398, allocations: 69.73 kB / 442.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.3399, allocations: 51.42 kB / 442.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.3408, allocations: 327.4 kB / 442.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006764/0.3414, allocations: 0.6497 MB / 443.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.3416, allocations: 72.38 kB / 443.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.3418, allocations: 201.7 kB / 443.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.3421, allocations: 206.4 kB / 443.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.334e-05/0.3422, allocations: 36.19 kB / 443.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.797e-05/0.3422, allocations: 41.62 kB / 443.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.3424, allocations: 152.6 kB / 444.1 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.3425, allocations: 201.2 kB / 444.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.3431, allocations: 480.1 kB / 444.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3431, allocations: 0 / 444.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3431, allocations: 0.6562 kB / 444.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3431, allocations: 1.25 kB / 444.8 MB, free: 1.75 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.001221/0.3444, allocations: 0.7556 MB / 445.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3444, allocations: 10.66 kB / 445.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.926e-05/0.3445, allocations: 73.89 kB / 445.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.858e-05/0.3446, allocations: 53.86 kB / 445.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.3451, allocations: 439.6 kB / 446.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.3452, allocations: 21.47 kB / 446.1 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.3452, allocations: 35.16 kB / 446.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007506/0.346, allocations: 413.8 kB / 446.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.346, allocations: 9.109 kB / 446.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.346, allocations: 11.59 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.3461, allocations: 11.88 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.3466, allocations: 309.8 kB / 446.9 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.3491, allocations: 1.595 MB / 448.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.3495, allocations: 186.8 kB / 448.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.3496, allocations: 95.78 kB / 448.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.3497, allocations: 6.891 kB / 448.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3497, allocations: 35.84 kB / 448.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.3497, allocations: 1.031 kB / 448.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007127/0.3504, allocations: 328.3 kB / 449.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.3505, allocations: 54 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.3511, allocations: 468.3 kB / 449.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.3511, allocations: 30.73 kB / 449.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.3514, allocations: 276.4 kB / 449.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.3514, allocations: 72.7 kB / 450 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3516, allocations: 73.19 kB / 450.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3518, allocations: 362.1 kB / 450.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.352, allocations: 89.56 kB / 450.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.3523, allocations: 231.4 kB / 450.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.3538, allocations: 0.5779 MB / 451.3 MB, free: 13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3538, allocations: 1.875 kB / 451.3 MB, free: 13 MB / 334.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007223/0.3546, allocations: 410 kB / 451.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3546, allocations: 7.844 kB / 451.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3546, allocations: 4.188 kB / 451.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.3546, allocations: 5.5 kB / 451.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.355, allocations: 92.89 kB / 451.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.355, allocations: 6.969 kB / 451.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.3552, allocations: 49 kB / 451.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.3552, allocations: 21.5 kB / 451.9 MB, free: 12.71 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.0002889/0.3555, allocations: 192.5 kB / 452.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.3556, allocations: 42.78 kB / 452.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006436/0.3562, allocations: 317 kB / 452.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3562, allocations: 1.375 kB / 452.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3562, allocations: 1.219 kB / 452.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3562, allocations: 3.984 kB / 452.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.3567, allocations: 410.6 kB / 452.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3567, allocations: 9.312 kB / 452.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.3571, allocations: 62.84 kB / 452.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3571, allocations: 5.312 kB / 452.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.3571, allocations: 10.73 kB / 452.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3571, allocations: 0 / 452.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3571, allocations: 1.375 kB / 452.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.3579, allocations: 0.4901 MB / 453.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.358, allocations: 123.1 kB / 453.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.3581, allocations: 6.391 kB / 453.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3582, allocations: 7.625 kB / 453.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.3583, allocations: 18.91 kB / 453.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3583, allocations: 6.188 kB / 453.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003913/0.3587, allocations: 323.3 kB / 453.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3587, allocations: 0 / 453.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.359, allocations: 61.86 kB / 453.9 MB, free: 11.27 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.001187/0.3602, allocations: 1.025 MB / 455 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.3607, allocations: 271.4 kB / 455.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3607, allocations: 0 / 455.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.3609, allocations: 105.6 kB / 455.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3613, allocations: 39.89 kB / 455.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.3668, allocations: 3.865 MB / 459.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.3674, allocations: 0.8591 MB / 460.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.3676, allocations: 69.89 kB / 460.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.3678, allocations: 141.4 kB / 460.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3678, allocations: 1.219 kB / 460.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.4032, allocations: 6.812 MB / 467.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.749/9.153, allocations: 11.78 kB / 467.1 MB, free: 0.6914 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)