Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.625/1.625, allocations: 287.4 MB / 303.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 180.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 0.6304 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008362/0.000836, allocations: 90.34 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004788, allocations: 11.64 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2146, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003738/0.2184, allocations: 3.138 MB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.2213, allocations: 1.299 MB / 0.9836 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008583/0.2222, allocations: 31.81 kB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.2227, allocations: 91.09 kB / 0.9837 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000856/0.2235, allocations: 135 kB / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2248, allocations: 455 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.226, allocations: 0.8549 MB / 0.9851 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006436/0.2266, allocations: 317.9 kB / 0.9854 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005492/0.2272, allocations: 274.5 kB / 0.9857 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.2276, allocations: 262.3 kB / 0.9859 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.2277, allocations: 20 kB / 0.986 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-05/0.2278, allocations: 24 kB / 0.986 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.2279, allocations: 107.4 kB / 0.9861 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.2281, allocations: 145.2 kB / 0.9862 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.2286, allocations: 0.6234 MB / 0.9868 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2286, allocations: 0 / 0.9868 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2286, allocations: 0 / 0.9868 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.088e-05/0.2286, allocations: 0 / 0.9868 GB, free: 20.42 MB / 0.6198 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.001926/0.2306, allocations: 1.065 MB / 0.9879 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.2306, allocations: 8.031 kB / 0.9879 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.2309, allocations: 95.75 kB / 0.988 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008921/0.2318, allocations: 0.6025 MB / 0.9886 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.704e-05/0.2319, allocations: 105 kB / 0.9887 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.232, allocations: 56.38 kB / 0.9887 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.233, allocations: 0.6081 MB / 0.9893 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.233, allocations: 4 kB / 0.9893 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.2331, allocations: 24 kB / 0.9893 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2331, allocations: 12 kB / 0.9893 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009325/0.2341, allocations: 439.6 kB / 0.9898 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.2367, allocations: 2.141 MB / 0.9919 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.2379, allocations: 0.5108 MB / 0.9923 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.2383, allocations: 230.8 kB / 0.9926 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.2384, allocations: 11.94 kB / 0.9926 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006187/0.239, allocations: 293.9 kB / 0.9929 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 3.637e-06/0.239, allocations: 0 / 0.9929 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.001355/0.2404, allocations: 0.6347 MB / 0.9935 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.2404, allocations: 84.86 kB / 0.9936 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.241, allocations: 0.6178 MB / 0.9942 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.2411, allocations: 37.7 kB / 0.9942 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.2413, allocations: 356.8 kB / 0.9945 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-05/0.2414, allocations: 161.7 kB / 0.9947 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.2414, allocations: 12 kB / 0.9947 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.436e-05/0.2415, allocations: 322 kB / 0.995 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.2419, allocations: 185 kB / 0.9952 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.2423, allocations: 288.2 kB / 0.9955 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008268/0.2432, allocations: 482 kB / 0.9959 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2432, allocations: 4 kB / 0.9959 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001079/0.2443, allocations: 0.6177 MB / 0.9965 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/0.2444, allocations: 189.3 kB / 0.9967 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2444, allocations: 4 kB / 0.9967 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.2444, allocations: 13.03 kB / 0.9967 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.2449, allocations: 107.9 kB / 0.9968 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.2449, allocations: 11.92 kB / 0.9968 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.2453, allocations: 67.42 kB / 0.9969 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.2454, allocations: 23.98 kB / 0.9969 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.2454, allocations: 4 kB / 0.9969 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009047/0.2463, allocations: 0.4998 MB / 0.9974 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2463, allocations: 4 kB / 0.9974 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.71e-06/0.2463, allocations: 4 kB / 0.9974 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.2467, allocations: 107.8 kB / 0.9975 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2468, allocations: 15.88 kB / 0.9975 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.2471, allocations: 63.75 kB / 0.9976 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.2472, allocations: 20 kB / 0.9976 GB, free: 8.918 MB / 0.6198 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.0002746/0.2475, allocations: 274.3 kB / 0.9979 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.2476, allocations: 75.09 kB / 0.998 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.2477, allocations: 83.33 kB / 0.998 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2477, allocations: 0 / 0.998 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2477, allocations: 0 / 0.998 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.248, allocations: 196 kB / 0.9982 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.481e-05/0.248, allocations: 12 kB / 0.9982 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.2485, allocations: 43.95 kB / 0.9983 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.542e-05/0.2486, allocations: 31.95 kB / 0.9983 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001307/0.2499, allocations: 0.59 MB / 0.9989 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001373/0.2513, allocations: 0.913 MB / 0.9998 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003942/0.2517, allocations: 219.7 kB / 1 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004022/0.2521, allocations: 431 kB / 1 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of Backend: time 8.02e-07/0.2521, allocations: 4 kB / 1 GB, free: 6.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.2535, allocations: 0.7171 MB / 1.001 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of SimCode: time 0.00223/0.2558, allocations: 1.854 MB / 1.003 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of Templates: time 0.01734/0.2731, allocations: 9.311 MB / 1.012 GB, free: 10.13 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)