Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPID.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002551/0.00255, allocations: 356.9 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.495/1.495, allocations: 165.8 MB / 182.5 MB, free: 5.52 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.835/3.835, allocations: 410.8 MB / 0.5995 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001738/0.001738, allocations: 186.1 kB / 0.6662 GB, free: 6.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004604, allocations: 20 kB / 0.7423 GB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3789, allocations: 67.42 MB / 0.8081 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003548/0.3825, allocations: 3.132 MB / 0.8112 GB, free: 25.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.3847, allocations: 1.248 MB / 0.8124 GB, free: 24.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003682/0.3851, allocations: 23.88 kB / 0.8124 GB, free: 24.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.427e-05/0.3852, allocations: 51.38 kB / 0.8125 GB, free: 24.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.3857, allocations: 162.8 kB / 0.8126 GB, free: 24.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3869, allocations: 466.7 kB / 0.8131 GB, free: 23.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008906/0.3878, allocations: 0.8354 MB / 0.8139 GB, free: 22.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/0.3883, allocations: 255.2 kB / 0.8141 GB, free: 22.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.3887, allocations: 274.4 kB / 0.8144 GB, free: 22.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.389, allocations: 262.3 kB / 0.8147 GB, free: 22.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.3891, allocations: 20 kB / 0.8147 GB, free: 22.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.426e-05/0.3892, allocations: 20 kB / 0.8147 GB, free: 22.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.744e-05/0.3893, allocations: 111.4 kB / 0.8148 GB, free: 21.9 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.3894, allocations: 137.3 kB / 0.8149 GB, free: 21.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.39, allocations: 0.6254 MB / 0.8155 GB, free: 21.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.516e-06/0.39, allocations: 4 kB / 0.8155 GB, free: 21.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.39, allocations: 0 / 0.8155 GB, free: 21.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.39, allocations: 0 / 0.8155 GB, free: 21.13 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001917/0.392, allocations: 1.063 MB / 0.8166 GB, free: 20.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.392, allocations: 12.03 kB / 0.8166 GB, free: 20 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.3922, allocations: 90.88 kB / 0.8167 GB, free: 19.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.3932, allocations: 0.5784 MB / 0.8172 GB, free: 19.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.3934, allocations: 100.4 kB / 0.8173 GB, free: 19.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.3935, allocations: 55.98 kB / 0.8174 GB, free: 19.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.3947, allocations: 0.6079 MB / 0.818 GB, free: 18.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.3947, allocations: 0 / 0.818 GB, free: 18.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.3948, allocations: 20 kB / 0.818 GB, free: 18.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.3948, allocations: 16 kB / 0.818 GB, free: 18.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.3961, allocations: 447.6 kB / 0.8185 GB, free: 18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.399, allocations: 2.137 MB / 0.8205 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.4005, allocations: 0.5147 MB / 0.821 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/0.4011, allocations: 231.4 kB / 0.8213 GB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.4012, allocations: 4 kB / 0.8213 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007561/0.4019, allocations: 293.9 kB / 0.8215 GB, free: 14.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 3.769e-06/0.402, allocations: 4 kB / 0.8215 GB, free: 14.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001768/0.4037, allocations: 0.6374 MB / 0.8222 GB, free: 14.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4038, allocations: 84.86 kB / 0.8223 GB, free: 13.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/0.4046, allocations: 0.6061 MB / 0.8228 GB, free: 13.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.4047, allocations: 41.7 kB / 0.8229 GB, free: 13.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.4049, allocations: 364.8 kB / 0.8232 GB, free: 12.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.405, allocations: 161.7 kB / 0.8234 GB, free: 12.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.4051, allocations: 4 kB / 0.8234 GB, free: 12.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.4052, allocations: 334 kB / 0.8237 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.4057, allocations: 181 kB / 0.8239 GB, free: 12.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.4063, allocations: 284.2 kB / 0.8242 GB, free: 11.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.4069, allocations: 234.5 kB / 0.8244 GB, free: 11.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.341e-06/0.4069, allocations: 0 / 0.8244 GB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001443/0.4084, allocations: 0.6178 MB / 0.825 GB, free: 11.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/0.4085, allocations: 189.2 kB / 0.8252 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.4085, allocations: 0 / 0.8252 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.4085, allocations: 8 kB / 0.8252 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.4092, allocations: 115.8 kB / 0.8253 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.4092, allocations: 7.984 kB / 0.8253 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.4097, allocations: 67.42 kB / 0.8253 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.4097, allocations: 21.08 kB / 0.8254 GB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.039e-06/0.4097, allocations: 4 kB / 0.8254 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001791/0.4115, allocations: 0.5078 MB / 0.8259 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4116, allocations: 3.984 kB / 0.8259 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4116, allocations: 8 kB / 0.8259 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009677/0.4126, allocations: 103.8 kB / 0.826 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.4126, allocations: 4 kB / 0.826 GB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/0.4135, allocations: 63.45 kB / 0.826 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.4136, allocations: 28.06 kB / 0.8261 GB, free: 9.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006195/0.4143, allocations: 270.9 kB / 0.8263 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.4145, allocations: 75.09 kB / 0.8264 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.4148, allocations: 83.33 kB / 0.8265 GB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.972e-06/0.4148, allocations: 4 kB / 0.8265 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/0.4148, allocations: 0 / 0.8265 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.4149, allocations: 3.953 kB / 0.8265 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.416, allocations: 0.6219 MB / 0.8271 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.569e-06/0.4161, allocations: 8 kB / 0.8271 GB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/0.417, allocations: 83.83 kB / 0.8272 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.417, allocations: 4 kB / 0.8272 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.4171, allocations: 15.97 kB / 0.8272 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.169e-06/0.4171, allocations: 4 kB / 0.8272 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-06/0.4171, allocations: 0 / 0.8272 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/0.4203, allocations: 0.7484 MB / 0.8279 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.4209, allocations: 196 kB / 0.8281 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.4211, allocations: 12 kB / 0.8281 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/0.422, allocations: 47.95 kB / 0.8282 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.4222, allocations: 27.95 kB / 0.8282 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/0.4223, allocations: 19.98 kB / 0.8282 GB, free: 7.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001006/0.4233, allocations: 431 kB / 0.8286 GB, free: 7.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.084e-06/0.4233, allocations: 0 / 0.8286 GB, free: 7.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00144/0.4248, allocations: 215.3 kB / 0.8288 GB, free: 6.996 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002213/0.425, allocations: 123.1 kB / 0.829 GB, free: 6.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003421/0.4285, allocations: 0.8011 MB / 0.8297 GB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.822e-06/0.4285, allocations: 0 / 0.8297 GB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.4296, allocations: 227.5 kB / 0.83 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.4317, allocations: 180.8 kB / 0.8301 GB, free: 5.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.4358, allocations: 1.397 MB / 0.8315 GB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.4365, allocations: 0.9339 MB / 0.8324 GB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009989/0.4375, allocations: 97.2 kB / 0.8325 GB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.4378, allocations: 47.42 kB / 0.8325 GB, free: 3.117 MB / 378.7 MB Notification: Performance of SimCode: time 2.444e-06/0.4378, allocations: 0 / 0.8325 GB, free: 3.117 MB / 378.7 MB Notification: Performance of Templates: time 0.03139/0.4692, allocations: 6.9 MB / 0.8393 GB, free: 12.3 MB / 394.7 MB