Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.969/2.969, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.002305/0.002305, allocations: 187.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.381/2.381, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001152/0.001152, allocations: 90.11 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004918, allocations: 10.94 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003933/0.2234, allocations: 2.625 MB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2257, allocations: 0.9363 MB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.2262, allocations: 11.94 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.2263, allocations: 39.64 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.2268, allocations: 107.6 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000649/0.2275, allocations: 177.8 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.2281, allocations: 340.5 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.2285, allocations: 187.6 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.2288, allocations: 143.3 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.229, allocations: 147.1 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.2291, allocations: 12 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.2292, allocations: 16 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.2292, allocations: 63.69 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.2293, allocations: 101.5 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.2298, allocations: 415.2 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2298, allocations: 0 / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2298, allocations: 4 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.2299, allocations: 0 / 0.9833 GB, free: 23.09 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00146/0.2313, allocations: 0.6881 MB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2314, allocations: 12.03 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.2315, allocations: 51.34 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.2323, allocations: 403.5 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.2324, allocations: 32.94 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/0.2325, allocations: 40 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009166/0.2334, allocations: 393.6 kB / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.2334, allocations: 0 / 0.9849 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.2335, allocations: 16 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2335, allocations: 8 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008336/0.2344, allocations: 275.8 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002393/0.2368, allocations: 1.32 MB / 0.9865 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000998/0.2378, allocations: 314.5 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.2379, allocations: 4 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005122/0.2384, allocations: 181.9 kB / 0.987 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/0.2384, allocations: 0 / 0.987 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001244/0.2397, allocations: 381.8 kB / 0.9873 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.2398, allocations: 85.05 kB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.2402, allocations: 349.6 kB / 0.9877 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.2403, allocations: 41.7 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.2405, allocations: 233 kB / 0.988 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/0.2406, allocations: 98.56 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.2406, allocations: 4 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.2407, allocations: 350.8 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.2411, allocations: 96.7 kB / 0.9885 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.2415, allocations: 172.6 kB / 0.9887 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/0.2418, allocations: 117.6 kB / 0.9888 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2419, allocations: 4 kB / 0.9888 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009722/0.2429, allocations: 347.5 kB / 0.9891 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2429, allocations: 8 kB / 0.9891 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2429, allocations: 192 / 0.9891 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.2429, allocations: 11.94 kB / 0.9892 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.2434, allocations: 67.91 kB / 0.9892 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2435, allocations: 3.984 kB / 0.9892 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.2438, allocations: 47.67 kB / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.2439, allocations: 12 kB / 0.9893 GB, free: 16.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0002694/0.2442, allocations: 197.4 kB / 0.9895 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/0.2443, allocations: 35.53 kB / 0.9895 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.2444, allocations: 44.25 kB / 0.9895 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2444, allocations: 4 kB / 0.9895 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.2444, allocations: 3.984 kB / 0.9896 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2444, allocations: 4 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.246, allocations: 0.8114 MB / 0.9903 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.246, allocations: 0 / 0.9903 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.2465, allocations: 43.98 kB / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.2465, allocations: 0 / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.2465, allocations: 7.984 kB / 0.9904 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.2465, allocations: 4 kB / 0.9904 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2465, allocations: 3.938 kB / 0.9904 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.2478, allocations: 0.5225 MB / 0.9909 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.2481, allocations: 132.6 kB / 0.991 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/0.2481, allocations: 8 kB / 0.9911 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.2485, allocations: 24.05 kB / 0.9911 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2486, allocations: 27.95 kB / 0.9911 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.2486, allocations: 8 kB / 0.9911 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003277/0.249, allocations: 243.2 kB / 0.9913 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.249, allocations: 0 / 0.9913 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005071/0.2495, allocations: 83.69 kB / 0.9914 GB, free: 14.41 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.2497, allocations: 111.2 kB / 0.9915 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008392/0.2505, allocations: 267.7 kB / 0.9918 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2505, allocations: 0 / 0.9918 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.2509, allocations: 135.8 kB / 0.9919 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.2516, allocations: 77.78 kB / 0.992 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.2536, allocations: 0.9733 MB / 0.9929 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.254, allocations: 0.823 MB / 0.9937 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003181/0.2543, allocations: 47.25 kB / 0.9938 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2544, allocations: 31.44 kB / 0.9938 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of SimCode: time 1.393e-06/0.2544, allocations: 0 / 0.9938 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.01096/0.2654, allocations: 3.245 MB / 0.997 GB, free: 8.684 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)