Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.349/2.349, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001415, allocations: 183.7 kB / 326.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.376/2.376, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009617/0.0009612, allocations: 88.42 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005104/0.0005106, allocations: 11.38 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.205, allocations: 106.3 MB / 0.8995 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004623/0.2097, allocations: 3.158 MB / 0.9026 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003532/0.2133, allocations: 1.314 MB / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008384/0.2142, allocations: 23.88 kB / 0.9039 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.2147, allocations: 91.09 kB / 0.904 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000891/0.2156, allocations: 133.1 kB / 0.9041 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.2175, allocations: 466.9 kB / 0.9045 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001696/0.2193, allocations: 0.8432 MB / 0.9053 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008162/0.2201, allocations: 343.1 kB / 0.9057 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.2208, allocations: 274.4 kB / 0.9059 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.2212, allocations: 258.3 kB / 0.9062 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.2213, allocations: 20 kB / 0.9062 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.2214, allocations: 23.94 kB / 0.9062 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2215, allocations: 111.4 kB / 0.9063 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2217, allocations: 137.3 kB / 0.9065 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.2224, allocations: 0.6159 MB / 0.9071 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2225, allocations: 8 kB / 0.9071 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2225, allocations: 0 / 0.9071 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.2225, allocations: 0 / 0.9071 GB, free: 57.77 MB / 0.6042 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.002887/0.2254, allocations: 1.075 MB / 0.9081 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.2255, allocations: 12.03 kB / 0.9081 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.2258, allocations: 91.81 kB / 0.9082 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.2273, allocations: 0.5798 MB / 0.9088 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.2275, allocations: 96.97 kB / 0.9089 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.2277, allocations: 52.36 kB / 0.9089 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.2293, allocations: 0.6159 MB / 0.9095 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.2294, allocations: 0 / 0.9095 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.2294, allocations: 20 kB / 0.9096 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.2295, allocations: 12 kB / 0.9096 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.2311, allocations: 443.6 kB / 0.91 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.2353, allocations: 2.133 MB / 0.9121 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.2373, allocations: 0.5156 MB / 0.9126 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007658/0.2381, allocations: 228.8 kB / 0.9128 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.946e-05/0.2382, allocations: 11.95 kB / 0.9128 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.2393, allocations: 290 kB / 0.9131 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 4.017e-06/0.2393, allocations: 0 / 0.9131 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.002386/0.2417, allocations: 0.6385 MB / 0.9137 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2418, allocations: 88.86 kB / 0.9138 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/0.2428, allocations: 0.6099 MB / 0.9144 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.243, allocations: 37.7 kB / 0.9144 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.2433, allocations: 361 kB / 0.9148 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.2435, allocations: 157.7 kB / 0.9149 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.2435, allocations: 8 kB / 0.9149 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.2436, allocations: 330 kB / 0.9152 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007442/0.2443, allocations: 185 kB / 0.9154 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/0.2451, allocations: 284.2 kB / 0.9157 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.2459, allocations: 238.5 kB / 0.9159 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.246, allocations: 0 / 0.9159 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001973/0.248, allocations: 0.6215 MB / 0.9165 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.2481, allocations: 189.4 kB / 0.9167 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2481, allocations: 0 / 0.9167 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.2482, allocations: 8 kB / 0.9167 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.2491, allocations: 111.8 kB / 0.9168 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.2491, allocations: 7.984 kB / 0.9168 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.2498, allocations: 71.42 kB / 0.9169 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.2499, allocations: 19.98 kB / 0.9169 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2499, allocations: 5.562 kB / 0.9169 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001607/0.2516, allocations: 0.4998 MB / 0.9174 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.2516, allocations: 7.984 kB / 0.9174 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2516, allocations: 4 kB / 0.9174 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.2525, allocations: 104.1 kB / 0.9175 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.2525, allocations: 15.98 kB / 0.9175 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/0.2532, allocations: 59.5 kB / 0.9176 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.2532, allocations: 20 kB / 0.9176 GB, free: 46.57 MB / 0.6042 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004229/0.2537, allocations: 274 kB / 0.9179 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.2539, allocations: 79 kB / 0.9179 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.254, allocations: 83.33 kB / 0.918 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.495e-06/0.2541, allocations: 4 kB / 0.918 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2541, allocations: 0 / 0.918 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.2544, allocations: 192 kB / 0.9182 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.2545, allocations: 12 kB / 0.9182 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008084/0.2553, allocations: 43.95 kB / 0.9183 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.2555, allocations: 35.95 kB / 0.9183 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002317/0.2578, allocations: 0.5861 MB / 0.9189 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002535/0.2604, allocations: 0.9131 MB / 0.9198 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00072/0.2611, allocations: 220.1 kB / 0.92 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006771/0.2618, allocations: 435 kB / 0.9204 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of Backend: time 5.81e-07/0.2619, allocations: 0 / 0.9204 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002385/0.2642, allocations: 0.7145 MB / 0.9211 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003299/0.2676, allocations: 1.859 MB / 0.9229 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.02488/0.2925, allocations: 9.313 MB / 0.932 GB, free: 31.79 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)