Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4636/0.4636, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 109.7 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 47.92 kB / 0.4891 GB, free: 7.68 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3973, allocations: 70.06 MB / 0.5575 GB, free: 44.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003988/0.4013, allocations: 3.706 MB / 0.5611 GB, free: 41.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.4035, allocations: 1.295 MB / 0.5624 GB, free: 40.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.4039, allocations: 27.81 kB / 0.5624 GB, free: 40.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.4042, allocations: 87.17 kB / 0.5625 GB, free: 40.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.4047, allocations: 149.2 kB / 0.5626 GB, free: 39.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009563/0.4057, allocations: 0.5308 MB / 0.5631 GB, free: 39.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006034/0.4063, allocations: 0.9134 MB / 0.564 GB, free: 38.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.4067, allocations: 333.6 kB / 0.5643 GB, free: 38.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.407, allocations: 322.3 kB / 0.5647 GB, free: 37.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.4072, allocations: 326.1 kB / 0.565 GB, free: 37.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.4073, allocations: 36 kB / 0.565 GB, free: 37.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.629e-05/0.4074, allocations: 39.94 kB / 0.565 GB, free: 37.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.4075, allocations: 143.2 kB / 0.5652 GB, free: 37.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.4077, allocations: 337.7 kB / 0.5655 GB, free: 36.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.4082, allocations: 0.8154 MB / 0.5663 GB, free: 36.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4082, allocations: 4 kB / 0.5663 GB, free: 36.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.4082, allocations: 0 / 0.5663 GB, free: 36.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.4082, allocations: 0 / 0.5663 GB, free: 36.1 MB / 410.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.002122/0.4103, allocations: 1.178 MB / 0.5674 GB, free: 34.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.4104, allocations: 8.031 kB / 0.5675 GB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.4106, allocations: 99.73 kB / 0.5676 GB, free: 34.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008893/0.4115, allocations: 0.5948 MB / 0.5681 GB, free: 34.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.4116, allocations: 101 kB / 0.5682 GB, free: 34.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.693e-05/0.4117, allocations: 52.38 kB / 0.5683 GB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009657/0.4127, allocations: 0.6003 MB / 0.5689 GB, free: 33.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4127, allocations: 7.875 kB / 0.5689 GB, free: 33.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.4127, allocations: 20 kB / 0.5689 GB, free: 33.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4128, allocations: 12 kB / 0.5689 GB, free: 33.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009174/0.4137, allocations: 427.6 kB / 0.5693 GB, free: 32.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.4165, allocations: 2.11 MB / 0.5714 GB, free: 30.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4175, allocations: 0.5112 MB / 0.5719 GB, free: 30.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.418, allocations: 214.6 kB / 0.5721 GB, free: 29.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.418, allocations: 4 kB / 0.5721 GB, free: 29.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000638/0.4187, allocations: 293.9 kB / 0.5724 GB, free: 29.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.785e-06/0.4187, allocations: 0 / 0.5724 GB, free: 29.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001273/0.4199, allocations: 0.6034 MB / 0.5729 GB, free: 29.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.42, allocations: 92.86 kB / 0.573 GB, free: 28.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.4205, allocations: 0.6138 MB / 0.5736 GB, free: 28.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.4206, allocations: 33.7 kB / 0.5737 GB, free: 28.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.4208, allocations: 352.9 kB / 0.574 GB, free: 27.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.4208, allocations: 157.7 kB / 0.5742 GB, free: 27.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.421, allocations: 94.16 kB / 0.5742 GB, free: 27.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.421, allocations: 330 kB / 0.5746 GB, free: 27.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.4215, allocations: 183 kB / 0.5747 GB, free: 27.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.4219, allocations: 280.2 kB / 0.575 GB, free: 26.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/0.4227, allocations: 479 kB / 0.5755 GB, free: 26.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4227, allocations: 3.938 kB / 0.5755 GB, free: 26.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001007/0.4237, allocations: 0.5982 MB / 0.576 GB, free: 25.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.4237, allocations: 33.69 kB / 0.5761 GB, free: 25.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4237, allocations: 4 kB / 0.5761 GB, free: 25.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4238, allocations: 7.938 kB / 0.5761 GB, free: 25.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/0.4242, allocations: 111.8 kB / 0.5762 GB, free: 25.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4242, allocations: 8.25 kB / 0.5762 GB, free: 25.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.4246, allocations: 63.5 kB / 0.5763 GB, free: 25.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.4246, allocations: 20 kB / 0.5763 GB, free: 25.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004747/0.4251, allocations: 309.1 kB / 0.5766 GB, free: 25.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000396/0.4255, allocations: 272.2 kB / 0.5768 GB, free: 24.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006669/0.4262, allocations: 457.8 kB / 0.5773 GB, free: 24.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.4262, allocations: 4 kB / 0.5773 GB, free: 24.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0008794/0.4271, allocations: 0.5712 MB / 0.5778 GB, free: 23.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4271, allocations: 33.7 kB / 0.5779 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.4272, allocations: 0 / 0.5779 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-06/0.4272, allocations: 8 kB / 0.5779 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.4276, allocations: 103.8 kB / 0.578 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.4276, allocations: 4 kB / 0.578 GB, free: 23.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.4279, allocations: 59.45 kB / 0.578 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.428, allocations: 16 kB / 0.5781 GB, free: 23.56 MB / 410.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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.4281, allocations: 217.8 kB / 0.5783 GB, free: 23.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.4282, allocations: 75.06 kB / 0.5783 GB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.4284, allocations: 79.22 kB / 0.5784 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.4284, allocations: 4 kB / 0.5784 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4284, allocations: 0 / 0.5784 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4284, allocations: 3.984 kB / 0.5784 GB, free: 23.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.4289, allocations: 0.6219 MB / 0.579 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4289, allocations: 0 / 0.579 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.4294, allocations: 91.81 kB / 0.5791 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.4294, allocations: 0 / 0.5791 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.4294, allocations: 12 kB / 0.5791 GB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4294, allocations: 0 / 0.5791 GB, free: 22.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4295, allocations: 4 kB / 0.5791 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00661/0.4361, allocations: 4.363 MB / 0.5834 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.4363, allocations: 188.1 kB / 0.5836 GB, free: 17.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.4364, allocations: 15.94 kB / 0.5836 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.4368, allocations: 35.95 kB / 0.5836 GB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.4369, allocations: 35.95 kB / 0.5836 GB, free: 17.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/0.4369, allocations: 15.94 kB / 0.5837 GB, free: 17.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004055/0.4373, allocations: 431 kB / 0.5841 GB, free: 17.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.002e-06/0.4373, allocations: 0 / 0.5841 GB, free: 17.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008659/0.4382, allocations: 303.3 kB / 0.5844 GB, free: 16.87 MB / 410.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 (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.000129/0.4383, allocations: 119.2 kB / 0.5845 GB, free: 16.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.4398, allocations: 0.7933 MB / 0.5853 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4398, allocations: 0 / 0.5853 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.4402, allocations: 215.5 kB / 0.5855 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.4411, allocations: 181.8 kB / 0.5856 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.4433, allocations: 1.735 MB / 0.5873 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.4436, allocations: 0.9224 MB / 0.5882 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004611/0.4441, allocations: 101.2 kB / 0.5883 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.4442, allocations: 51.42 kB / 0.5884 GB, free: 12.66 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4442, allocations: 0 / 0.5884 GB, free: 12.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01367/0.4579, allocations: 8.347 MB / 0.5965 GB, free: 4.391 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)