Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 106.5 kB / 16.41 MB, free: 6.453 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.001443/0.001443, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002306/0.002306, allocations: 290.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9452/0.9452, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4122, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPID): time 0.005015/0.4173, allocations: 3.716 MB / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002658/0.42, allocations: 1.328 MB / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006602/0.4206, allocations: 27.88 kB / 0.772 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004273/0.4211, allocations: 130.6 kB / 0.7721 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007185/0.4218, allocations: 172.5 kB / 0.7723 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.4231, allocations: 0.5838 MB / 0.7728 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.4243, allocations: 0.9565 MB / 0.7738 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006088/0.4249, allocations: 357.2 kB / 0.7741 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.4254, allocations: 374.3 kB / 0.7745 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.4258, allocations: 354.1 kB / 0.7748 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.426, allocations: 76 kB / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.4262, allocations: 80 kB / 0.775 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.4263, allocations: 187.3 kB / 0.7751 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003552/0.4267, allocations: 377.7 kB / 0.7755 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00085/0.4276, allocations: 0.8898 MB / 0.7764 GB, free: 10.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4276, allocations: 0 / 0.7764 GB, free: 10.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4276, allocations: 3.938 kB / 0.7764 GB, free: 10.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.49e-05/0.4276, allocations: 0 / 0.7764 GB, free: 10.29 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002212/0.4298, allocations: 1.183 MB / 0.7775 GB, free: 9.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4299, allocations: 8.031 kB / 0.7775 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.4301, allocations: 95.81 kB / 0.7776 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.4312, allocations: 0.6221 MB / 0.7782 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.4313, allocations: 92.97 kB / 0.7783 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.4314, allocations: 52.38 kB / 0.7784 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4324, allocations: 0.6042 MB / 0.779 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4325, allocations: 0 / 0.779 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.4325, allocations: 24 kB / 0.779 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4326, allocations: 12 kB / 0.779 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.4335, allocations: 427.6 kB / 0.7794 GB, free: 7.031 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.4362, allocations: 2.094 MB / 0.7814 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.4374, allocations: 0.4951 MB / 0.7819 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.4379, allocations: 216.8 kB / 0.7821 GB, free: 4.125 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.4379, allocations: 8 kB / 0.7821 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.4385, allocations: 274.2 kB / 0.7824 GB, free: 3.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=45): time 2.685e-06/0.4385, allocations: 0 / 0.7824 GB, free: 3.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.00138/0.4399, allocations: 0.6187 MB / 0.783 GB, free: 3.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.44, allocations: 84.86 kB / 0.7831 GB, free: 3.109 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006759/0.4407, allocations: 0.6178 MB / 0.7837 GB, free: 2.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.4407, allocations: 37.7 kB / 0.7837 GB, free: 2.438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.441, allocations: 356.8 kB / 0.7841 GB, free: 2.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.4411, allocations: 153.7 kB / 0.7842 GB, free: 1.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.4412, allocations: 98.16 kB / 0.7843 GB, free: 1.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4414, allocations: 334 kB / 0.7846 GB, free: 1.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.4418, allocations: 179 kB / 0.7848 GB, free: 1.316 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.4423, allocations: 280.2 kB / 0.7851 GB, free: 1.008 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000872/0.4432, allocations: 481.9 kB / 0.7855 GB, free: 0.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.4432, allocations: 7.938 kB / 0.7855 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001143/0.4443, allocations: 0.5906 MB / 0.7861 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.4444, allocations: 37.69 kB / 0.7861 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4444, allocations: 4 kB / 0.7861 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4444, allocations: 4 kB / 0.7861 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.4449, allocations: 107.8 kB / 0.7863 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.4449, allocations: 7.938 kB / 0.7863 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/0.4453, allocations: 71.69 kB / 0.7863 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.4453, allocations: 19.98 kB / 0.7863 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005139/0.4459, allocations: 311.6 kB / 0.7866 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004215/0.4463, allocations: 268.2 kB / 0.7869 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007809/0.4471, allocations: 454 kB / 0.7873 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.4471, allocations: 0 / 0.7873 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001044/0.4481, allocations: 0.575 MB / 0.7879 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.4482, allocations: 37.73 kB / 0.7879 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4482, allocations: 8 kB / 0.7879 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.4482, allocations: 4 kB / 0.7879 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.4487, allocations: 107.8 kB / 0.788 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4487, allocations: 4 kB / 0.788 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.449, allocations: 47.58 kB / 0.7881 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.4491, allocations: 20 kB / 0.7881 GB, free: 13.73 MB / 0.5606 GB 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.0001611/0.4493, allocations: 220.1 kB / 0.7883 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.987e-05/0.4494, allocations: 71.16 kB / 0.7884 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.4495, allocations: 75.22 kB / 0.7885 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4495, allocations: 8 kB / 0.7885 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4495, allocations: 0 / 0.7885 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4496, allocations: 3.984 kB / 0.7885 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.4502, allocations: 0.6217 MB / 0.7891 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4502, allocations: 0 / 0.7891 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.4507, allocations: 91.81 kB / 0.7892 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4507, allocations: 4 kB / 0.7892 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.4507, allocations: 8 kB / 0.7892 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4507, allocations: 0 / 0.7892 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4507, allocations: 0 / 0.7892 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.4521, allocations: 0.7364 MB / 0.7899 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.4524, allocations: 192 kB / 0.7901 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.4525, allocations: 15.94 kB / 0.7901 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.4529, allocations: 31.95 kB / 0.7901 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.453, allocations: 35.95 kB / 0.7902 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.453, allocations: 15.98 kB / 0.7902 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004597/0.4535, allocations: 431.1 kB / 0.7906 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4535, allocations: 0 / 0.7906 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005823/0.4541, allocations: 215.3 kB / 0.7908 GB, free: 10.89 MB / 0.5606 GB 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.0001285/0.4542, allocations: 111.2 kB / 0.7909 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.4557, allocations: 0.7815 MB / 0.7917 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.4557, allocations: 8.125 kB / 0.7917 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.4562, allocations: 211.8 kB / 0.7919 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.4571, allocations: 208.8 kB / 0.7921 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4591, allocations: 1.201 MB / 0.7932 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.4596, allocations: 0.9178 MB / 0.7941 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.4598, allocations: 51.42 kB / 0.7942 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4598, allocations: 0 / 0.7942 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of Templates: time 0.01249/0.4723, allocations: 8.737 MB / 0.8027 GB, free: 14.65 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe 2>&1)