Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001359/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001608/0.001608, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9884/0.9884, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1773, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.00528/0.1826, allocations: 3.728 MB / 0.5972 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.1856, allocations: 1.29 MB / 0.5985 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007563/0.1864, allocations: 27.81 kB / 0.5985 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.1869, allocations: 87.17 kB / 0.5986 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008653/0.1878, allocations: 139 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1893, allocations: 0.5329 MB / 0.5993 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009419/0.1902, allocations: 0.8978 MB / 0.6001 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.1907, allocations: 337.6 kB / 0.6005 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.1911, allocations: 326.2 kB / 0.6008 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.1914, allocations: 326.1 kB / 0.6011 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.244e-05/0.1915, allocations: 40 kB / 0.6011 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.1916, allocations: 36 kB / 0.6012 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1917, allocations: 135.3 kB / 0.6013 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.192, allocations: 345.7 kB / 0.6016 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006566/0.1927, allocations: 0.837 MB / 0.6024 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1927, allocations: 0 / 0.6024 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.42e-07/0.1927, allocations: 0 / 0.6024 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1927, allocations: 0 / 0.6024 GB, free: 0.9844 MB / 0.4981 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.3157/0.5084, allocations: 1.178 MB / 0.6036 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5085, allocations: 9.656 kB / 0.6036 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.5087, allocations: 94.12 kB / 0.6037 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000883/0.5095, allocations: 0.599 MB / 0.6043 GB, free: 43.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/0.5097, allocations: 96.86 kB / 0.6044 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/0.5097, allocations: 53.69 kB / 0.6044 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009512/0.5107, allocations: 0.5945 MB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5107, allocations: 6.375 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.5108, allocations: 25.69 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5108, allocations: 12.16 kB / 0.605 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.5117, allocations: 426.9 kB / 0.6054 GB, free: 43.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.514, allocations: 2.109 MB / 0.6075 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.515, allocations: 0.4907 MB / 0.608 GB, free: 42.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/0.5154, allocations: 217.7 kB / 0.6082 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.5155, allocations: 11.31 kB / 0.6082 GB, free: 42.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005772/0.5161, allocations: 281.8 kB / 0.6085 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.374e-06/0.5161, allocations: 2.75 kB / 0.6085 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001297/0.5174, allocations: 0.6076 MB / 0.6091 GB, free: 42.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.5174, allocations: 85.95 kB / 0.6091 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.518, allocations: 0.6191 MB / 0.6097 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.5181, allocations: 36.58 kB / 0.6098 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.5182, allocations: 354 kB / 0.6101 GB, free: 41.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.418e-05/0.5183, allocations: 160.2 kB / 0.6103 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.5185, allocations: 93.5 kB / 0.6104 GB, free: 41.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.5185, allocations: 328.4 kB / 0.6107 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.5189, allocations: 185.5 kB / 0.6109 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.5194, allocations: 282.4 kB / 0.6111 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.5202, allocations: 471.5 kB / 0.6116 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5202, allocations: 6.344 kB / 0.6116 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001047/0.5212, allocations: 0.5988 MB / 0.6122 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.5213, allocations: 35.67 kB / 0.6122 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5213, allocations: 2.875 kB / 0.6122 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5213, allocations: 5.688 kB / 0.6122 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.5218, allocations: 109.4 kB / 0.6123 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5218, allocations: 7.781 kB / 0.6123 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.5222, allocations: 64.16 kB / 0.6124 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.5222, allocations: 18.06 kB / 0.6124 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004818/0.5227, allocations: 309.2 kB / 0.6127 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003916/0.5231, allocations: 269.2 kB / 0.6129 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007017/0.5238, allocations: 456.1 kB / 0.6134 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/0.5238, allocations: 1.016 kB / 0.6134 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009486/0.5248, allocations: 0.5803 MB / 0.6139 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5248, allocations: 36.11 kB / 0.614 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.5248, allocations: 3.562 kB / 0.614 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.5248, allocations: 10.03 kB / 0.614 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.5252, allocations: 101.7 kB / 0.6141 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5253, allocations: 9.016 kB / 0.6141 GB, free: 39.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.5256, allocations: 48.36 kB / 0.6141 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.5256, allocations: 22.69 kB / 0.6142 GB, free: 39.16 MB / 0.4981 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.0001504/0.5258, allocations: 212.3 kB / 0.6144 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.5259, allocations: 77.91 kB / 0.6144 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.526, allocations: 78.75 kB / 0.6145 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.526, allocations: 5.781 kB / 0.6145 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.5261, allocations: 0 / 0.6145 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.5261, allocations: 3.703 kB / 0.6145 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.5266, allocations: 0.6209 MB / 0.6151 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5266, allocations: 1.125 kB / 0.6151 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.5271, allocations: 87.14 kB / 0.6152 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.5271, allocations: 0 / 0.6152 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.5271, allocations: 15.02 kB / 0.6152 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.5271, allocations: 3.031 kB / 0.6152 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5271, allocations: 3.75 kB / 0.6152 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.5285, allocations: 0.7323 MB / 0.616 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.5286, allocations: 188.3 kB / 0.6161 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.5287, allocations: 10.84 kB / 0.6161 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.5291, allocations: 35.06 kB / 0.6162 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.5292, allocations: 27.95 kB / 0.6162 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.5292, allocations: 18.95 kB / 0.6162 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004216/0.5297, allocations: 441.8 kB / 0.6166 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5297, allocations: 0 / 0.6166 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005635/0.5302, allocations: 213.8 kB / 0.6168 GB, free: 37.72 MB / 0.4981 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.0001222/0.5304, allocations: 111.2 kB / 0.617 GB, free: 37.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.5318, allocations: 0.7888 MB / 0.6177 GB, free: 37.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5318, allocations: 1.031 kB / 0.6177 GB, free: 37.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.5322, allocations: 221.4 kB / 0.6179 GB, free: 37.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000836/0.533, allocations: 187.5 kB / 0.6181 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.5348, allocations: 1.447 MB / 0.6195 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.5351, allocations: 0.9236 MB / 0.6204 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003724/0.5355, allocations: 86.78 kB / 0.6205 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.5356, allocations: 45.53 kB / 0.6206 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.5356, allocations: 0 / 0.6206 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.01139/0.547, allocations: 7.203 MB / 0.6276 GB, free: 35.12 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)