Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001196/0.001196, allocations: 109.7 kB / 15.99 MB, free: 6.359 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.00123/0.00123, allocations: 190.6 kB / 16.91 MB, free: 6.195 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7481/0.7481, allocations: 122.9 MB / 413.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 59.91 kB / 0.4906 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3771, allocations: 77.93 MB / 0.5667 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004971/0.3821, allocations: 4.109 MB / 0.5707 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.3848, allocations: 1.273 MB / 0.572 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006643/0.3855, allocations: 24.84 kB / 0.572 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.3858, allocations: 95.84 kB / 0.5721 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.3863, allocations: 145.5 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.3872, allocations: 390.2 kB / 0.5726 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009968/0.3882, allocations: 0.9521 MB / 0.5735 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006173/0.3889, allocations: 462.3 kB / 0.574 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.3893, allocations: 332.7 kB / 0.5743 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.3896, allocations: 336.3 kB / 0.5746 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.3897, allocations: 91.28 kB / 0.5747 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3899, allocations: 91.16 kB / 0.5748 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.39, allocations: 177 kB / 0.5749 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.3903, allocations: 392.2 kB / 0.5753 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.3913, allocations: 1.036 MB / 0.5763 GB, free: 26.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3913, allocations: 1 kB / 0.5763 GB, free: 26.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3913, allocations: 0 / 0.5763 GB, free: 26.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.3914, allocations: 0.8438 kB / 0.5763 GB, free: 26.46 MB / 446.1 MB 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.001826/0.3932, allocations: 1.081 MB / 0.5774 GB, free: 25.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3932, allocations: 9.938 kB / 0.5774 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.3934, allocations: 86.38 kB / 0.5775 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007554/0.3941, allocations: 0.5467 MB / 0.578 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.3942, allocations: 44.44 kB / 0.5781 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/0.3943, allocations: 64.23 kB / 0.5781 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3954, allocations: 0.6052 MB / 0.5787 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.3954, allocations: 6.078 kB / 0.5787 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.3955, allocations: 21.5 kB / 0.5787 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3955, allocations: 19.14 kB / 0.5788 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009537/0.3965, allocations: 464 kB / 0.5792 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.3991, allocations: 2.01 MB / 0.5812 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.4, allocations: 447.4 kB / 0.5816 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/0.4004, allocations: 239.7 kB / 0.5818 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.4005, allocations: 10.39 kB / 0.5818 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/0.4011, allocations: 264.9 kB / 0.5821 GB, free: 22.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.404e-06/0.4011, allocations: 0 / 0.5821 GB, free: 22.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001268/0.4024, allocations: 0.5784 MB / 0.5826 GB, free: 22.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.4024, allocations: 57.09 kB / 0.5827 GB, free: 22.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.4029, allocations: 444 kB / 0.5831 GB, free: 22.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.4029, allocations: 36.73 kB / 0.5832 GB, free: 22.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.4031, allocations: 325.5 kB / 0.5835 GB, free: 21.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.229e-05/0.4032, allocations: 171.1 kB / 0.5836 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.4033, allocations: 90.59 kB / 0.5837 GB, free: 21.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/0.4034, allocations: 363.3 kB / 0.5841 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.4038, allocations: 166.4 kB / 0.5842 GB, free: 21.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.4042, allocations: 256.3 kB / 0.5845 GB, free: 21.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.4049, allocations: 452.9 kB / 0.5849 GB, free: 20.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4049, allocations: 5.531 kB / 0.5849 GB, free: 20.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009581/0.4059, allocations: 0.5571 MB / 0.5854 GB, free: 20.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.4059, allocations: 44.22 kB / 0.5855 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4059, allocations: 7.188 kB / 0.5855 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.406, allocations: 4.844 kB / 0.5855 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.4064, allocations: 113.2 kB / 0.5856 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4065, allocations: 9.906 kB / 0.5856 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.4069, allocations: 63.97 kB / 0.5857 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.4069, allocations: 17.62 kB / 0.5857 GB, free: 20.38 MB / 446.1 MB 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.000226/0.4071, allocations: 208.7 kB / 0.5859 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.4072, allocations: 58.34 kB / 0.586 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.4073, allocations: 62.02 kB / 0.586 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4074, allocations: 9.297 kB / 0.586 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.4074, allocations: 1.875 kB / 0.586 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4074, allocations: 3.984 kB / 0.586 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.409, allocations: 1.175 MB / 0.5872 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.409, allocations: 6 kB / 0.5872 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004651/0.4095, allocations: 91.83 kB / 0.5873 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4095, allocations: 2.312 kB / 0.5873 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.4095, allocations: 15.02 kB / 0.5873 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4095, allocations: 2.562 kB / 0.5873 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4095, allocations: 0.8438 kB / 0.5873 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.4108, allocations: 0.7612 MB / 0.588 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.4109, allocations: 168 kB / 0.5882 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.411, allocations: 11.09 kB / 0.5882 GB, free: 18.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.4113, allocations: 29.81 kB / 0.5882 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.4114, allocations: 33.48 kB / 0.5883 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.4114, allocations: 17.17 kB / 0.5883 GB, free: 18.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003074/0.4118, allocations: 312.1 kB / 0.5886 GB, free: 18.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4118, allocations: 0.5312 kB / 0.5886 GB, free: 18.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005082/0.4123, allocations: 138.2 kB / 0.5887 GB, free: 18.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001136/0.4124, allocations: 112.1 kB / 0.5888 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.4134, allocations: 0.4972 MB / 0.5893 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4135, allocations: 0.5 kB / 0.5893 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.4139, allocations: 217.3 kB / 0.5895 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.4146, allocations: 162.7 kB / 0.5897 GB, free: 17.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.4171, allocations: 1.618 MB / 0.5912 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.4174, allocations: 0.8851 MB / 0.5921 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002997/0.4177, allocations: 64.28 kB / 0.5922 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4179, allocations: 38.44 kB / 0.5922 GB, free: 15.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4179, allocations: 9.094 kB / 0.5922 GB, free: 15.8 MB / 446.1 MB Notification: Performance of Templates: time 0.009179/0.427, allocations: 5.819 MB / 0.5979 GB, free: 10.61 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)