Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.786/1.786, allocations: 287.5 MB / 302.6 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009594/0.0009594, allocations: 184.6 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 0.6299 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007233/0.0007233, allocations: 98.34 kB / 0.7432 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004281, allocations: 11.12 kB / 0.8661 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2175, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004049/0.2216, allocations: 4.683 MB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002768/0.2244, allocations: 1.682 MB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006681/0.2251, allocations: 27.94 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003763/0.2255, allocations: 186.2 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.226, allocations: 138.8 kB / 0.9853 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.2269, allocations: 426.5 kB / 0.9857 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009843/0.2279, allocations: 1.476 MB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008139/0.2287, allocations: 0.7934 MB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.229, allocations: 361.8 kB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.2293, allocations: 429.1 kB / 0.9886 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.2294, allocations: 40 kB / 0.9887 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.2295, allocations: 51.98 kB / 0.9887 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.2296, allocations: 179 kB / 0.9889 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2298, allocations: 228.9 kB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007978/0.2306, allocations: 1.469 MB / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2306, allocations: 0 / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2306, allocations: 0 / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.2306, allocations: 0 / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002218/0.2328, allocations: 1.57 MB / 0.9921 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2329, allocations: 12.03 kB / 0.9921 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.2331, allocations: 163 kB / 0.9922 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008979/0.234, allocations: 0.8092 MB / 0.993 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.2341, allocations: 86.55 kB / 0.9931 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.2342, allocations: 124.3 kB / 0.9932 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.2359, allocations: 1.101 MB / 0.9943 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.2359, allocations: 4.172 kB / 0.9943 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.236, allocations: 51.94 kB / 0.9944 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.236, allocations: 28 kB / 0.9944 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.2375, allocations: 0.8473 MB / 0.9952 GB, free: 11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.2417, allocations: 3.963 MB / 0.9991 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.2435, allocations: 1.023 MB / 1 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/0.2442, allocations: 482.4 kB / 1.001 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.2443, allocations: 16.64 kB / 1.001 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007436/0.245, allocations: 443.3 kB / 1.001 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 4.558e-06/0.245, allocations: 7.984 kB / 1.001 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.001953/0.247, allocations: 1.097 MB / 1.002 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.2471, allocations: 222.6 kB / 1.002 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.248, allocations: 0.9115 MB / 1.003 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.248, allocations: 49.7 kB / 1.003 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.2484, allocations: 0.5858 MB / 1.004 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.2485, allocations: 283.8 kB / 1.004 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2486, allocations: 20 kB / 1.004 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.2487, allocations: 345.9 kB / 1.004 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006248/0.2493, allocations: 349.8 kB / 1.005 GB, free: 1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.25, allocations: 0.5951 MB / 1.005 GB, free: 320 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.2515, allocations: 0.8752 MB / 1.006 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2515, allocations: 7.938 kB / 1.006 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001965/0.2535, allocations: 1.107 MB / 1.007 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.2536, allocations: 250.5 kB / 1.008 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2537, allocations: 4 kB / 1.008 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.2537, allocations: 12 kB / 1.008 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.2545, allocations: 211.7 kB / 1.008 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.2545, allocations: 11.94 kB / 1.008 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/0.2553, allocations: 202.9 kB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/0.2554, allocations: 43.98 kB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.036e-06/0.2554, allocations: 4 kB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001208/0.2566, allocations: 0.8024 MB / 1.009 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2566, allocations: 12.03 kB / 1.009 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.2566, allocations: 8 kB / 1.009 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005737/0.2572, allocations: 171.7 kB / 1.009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.2572, allocations: 11.94 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.2579, allocations: 151 kB / 1.009 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.2579, allocations: 39.98 kB / 1.009 GB, free: 12.26 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0005619/0.2585, allocations: 348.9 kB / 1.009 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.2587, allocations: 114.6 kB / 1.01 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/0.2588, allocations: 119.7 kB / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.924e-05/0.2589, allocations: 8 kB / 1.01 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.2589, allocations: 4 kB / 1.01 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.2589, allocations: 3.984 kB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.26, allocations: 1.003 MB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2601, allocations: 0 / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/0.2607, allocations: 167.8 kB / 1.011 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.2608, allocations: 4 kB / 1.011 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.2608, allocations: 19.98 kB / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2608, allocations: 4 kB / 1.011 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2608, allocations: 0 / 1.011 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.2631, allocations: 1.28 MB / 1.012 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.2633, allocations: 195.5 kB / 1.012 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.2634, allocations: 16 kB / 1.012 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.2638, allocations: 71.95 kB / 1.012 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.2638, allocations: 48.92 kB / 1.012 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.2639, allocations: 24 kB / 1.012 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007569/0.2647, allocations: 0.6163 MB / 1.013 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2647, allocations: 0 / 1.013 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009616/0.2656, allocations: 414.2 kB / 1.013 GB, free: 7.723 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002095/0.2658, allocations: 131.9 kB / 1.014 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.2682, allocations: 1.392 MB / 1.015 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.2682, allocations: 0 / 1.015 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.269, allocations: 403.1 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.27, allocations: 242.7 kB / 1.016 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.2732, allocations: 2.337 MB / 1.018 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.2738, allocations: 1.093 MB / 1.019 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005295/0.2743, allocations: 136.3 kB / 1.019 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.2745, allocations: 87.41 kB / 1.019 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.2745, allocations: 0 / 1.019 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of Templates: time 0.02105/0.2956, allocations: 11.17 MB / 1.03 GB, free: 6.746 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)