Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 110.5 kB / 16.41 MB, free: 6.52 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.001628/0.001628, allocations: 186.7 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002422/0.002422, allocations: 282.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9571/0.9571, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 91.86 kB / 0.6821 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.484, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005134/0.4891, allocations: 4.115 MB / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.4915, allocations: 1.329 MB / 0.7723 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003439/0.4919, allocations: 27.88 kB / 0.7724 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.4923, allocations: 126.7 kB / 0.7725 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.4926, allocations: 174.4 kB / 0.7726 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.4934, allocations: 425.1 kB / 0.773 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008441/0.4942, allocations: 0.9593 MB / 0.774 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/0.4949, allocations: 469.7 kB / 0.7744 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.4952, allocations: 334.8 kB / 0.7748 GB, free: 12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.4955, allocations: 338.3 kB / 0.7751 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.4956, allocations: 88 kB / 0.7752 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.4958, allocations: 92 kB / 0.7752 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.4959, allocations: 171.5 kB / 0.7754 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.4962, allocations: 394 kB / 0.7758 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008757/0.4971, allocations: 1.061 MB / 0.7768 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4971, allocations: 4 kB / 0.7768 GB, free: 9.871 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4971, allocations: 4 kB / 0.7768 GB, free: 9.867 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.4971, allocations: 0 / 0.7768 GB, free: 9.867 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00172/0.4988, allocations: 1.081 MB / 0.7779 GB, free: 8.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4989, allocations: 8.031 kB / 0.7779 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.499, allocations: 80 kB / 0.778 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/0.4999, allocations: 0.5651 MB / 0.7785 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.5, allocations: 45.69 kB / 0.7786 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.5001, allocations: 52.38 kB / 0.7786 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.5011, allocations: 0.6156 MB / 0.7792 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.5012, allocations: 3.906 kB / 0.7792 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.5012, allocations: 28 kB / 0.7792 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5012, allocations: 12 kB / 0.7793 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009621/0.5022, allocations: 461 kB / 0.7797 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.5048, allocations: 1.989 MB / 0.7816 GB, free: 4.754 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008988/0.5058, allocations: 454.1 kB / 0.7821 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.5062, allocations: 238.1 kB / 0.7823 GB, free: 4.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.5063, allocations: 4.438 kB / 0.7823 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005215/0.5068, allocations: 265.2 kB / 0.7826 GB, free: 3.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=49): time 2.605e-06/0.5068, allocations: 0 / 0.7826 GB, free: 3.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=49): time 0.001267/0.5081, allocations: 0.5882 MB / 0.7831 GB, free: 3.207 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.5081, allocations: 55.84 kB / 0.7832 GB, free: 3.141 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.5086, allocations: 442.8 kB / 0.7836 GB, free: 2.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.5086, allocations: 37.7 kB / 0.7836 GB, free: 2.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.5089, allocations: 324.3 kB / 0.784 GB, free: 2.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.509, allocations: 169.5 kB / 0.7841 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.5091, allocations: 94.23 kB / 0.7842 GB, free: 2.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5093, allocations: 366.7 kB / 0.7846 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.5097, allocations: 169 kB / 0.7847 GB, free: 1.531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.5101, allocations: 241.8 kB / 0.7849 GB, free: 1.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007922/0.5109, allocations: 460 kB / 0.7854 GB, free: 0.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5109, allocations: 0 / 0.7854 GB, free: 0.793 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001026/0.512, allocations: 0.5663 MB / 0.7859 GB, free: 216 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.512, allocations: 37.58 kB / 0.786 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.512, allocations: 4 kB / 0.786 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.5121, allocations: 4 kB / 0.786 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.5126, allocations: 111.9 kB / 0.7861 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.5126, allocations: 7.938 kB / 0.7861 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.5129, allocations: 51.61 kB / 0.7861 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.513, allocations: 20 kB / 0.7862 GB, free: 15.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002388/0.5132, allocations: 214.1 kB / 0.7864 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.5133, allocations: 59.28 kB / 0.7864 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.5135, allocations: 65.53 kB / 0.7865 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5135, allocations: 3.984 kB / 0.7865 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5135, allocations: 0 / 0.7865 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.5137, allocations: 176.3 kB / 0.7867 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.5137, allocations: 8 kB / 0.7867 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.514, allocations: 31.91 kB / 0.7867 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.5141, allocations: 32.39 kB / 0.7867 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001296/0.5154, allocations: 0.5581 MB / 0.7873 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001396/0.5168, allocations: 0.8453 MB / 0.7881 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003929/0.5172, allocations: 207.4 kB / 0.7883 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003646/0.5176, allocations: 310.9 kB / 0.7886 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of Backend: time 6.01e-07/0.5176, allocations: 0 / 0.7886 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009413/0.5186, allocations: 415.6 kB / 0.789 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002181/0.5208, allocations: 1.697 MB / 0.7906 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.01198/0.5328, allocations: 7.058 MB / 0.7975 GB, free: 4.293 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)