Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 76.94 kB / 0.6715 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2267, allocations: 114.5 MB / 0.7833 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004616/0.2313, allocations: 3.142 MB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.2331, allocations: 1.006 MB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.2335, allocations: 11.94 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.2337, allocations: 71.25 kB / 0.7875 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.2339, allocations: 99.09 kB / 0.7876 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.2345, allocations: 238.6 kB / 0.7878 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.235, allocations: 0.5544 MB / 0.7883 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.2355, allocations: 251.8 kB / 0.7886 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.2357, allocations: 207.1 kB / 0.7888 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.2359, allocations: 202.9 kB / 0.789 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.567e-05/0.236, allocations: 52 kB / 0.789 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.2361, allocations: 52 kB / 0.7891 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.2362, allocations: 119.5 kB / 0.7892 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.2364, allocations: 226.8 kB / 0.7894 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005228/0.2369, allocations: 0.5528 MB / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2369, allocations: 0 / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.237, allocations: 0 / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.237, allocations: 4 kB / 0.7899 GB, free: 6.73 MB / 0.6075 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.001152/0.2381, allocations: 0.766 MB / 0.7907 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2382, allocations: 8.031 kB / 0.7907 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2383, allocations: 60.28 kB / 0.7908 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.2388, allocations: 412.6 kB / 0.7912 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.2388, allocations: 29.38 kB / 0.7912 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.2389, allocations: 40.28 kB / 0.7912 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.2395, allocations: 397.9 kB / 0.7916 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2395, allocations: 0 / 0.7916 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.2396, allocations: 16 kB / 0.7916 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.2396, allocations: 11.94 kB / 0.7916 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005235/0.2401, allocations: 259.9 kB / 0.7919 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.2417, allocations: 1.32 MB / 0.7932 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006458/0.2424, allocations: 320.8 kB / 0.7935 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.2426, allocations: 148.7 kB / 0.7936 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.2427, allocations: 0 / 0.7936 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.2431, allocations: 177.5 kB / 0.7938 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.2431, allocations: 4 kB / 0.7938 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0007951/0.2439, allocations: 378.9 kB / 0.7941 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.244, allocations: 85.11 kB / 0.7942 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.2443, allocations: 349.6 kB / 0.7946 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.2444, allocations: 33.7 kB / 0.7946 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.2445, allocations: 244.9 kB / 0.7948 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.2446, allocations: 102.5 kB / 0.7949 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2448, allocations: 78 kB / 0.795 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2449, allocations: 346.8 kB / 0.7953 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.2451, allocations: 100.7 kB / 0.7954 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.2454, allocations: 172.4 kB / 0.7956 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.2459, allocations: 259.8 kB / 0.7958 GB, free: 396 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2459, allocations: 0 / 0.7958 GB, free: 396 kB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006158/0.2465, allocations: 346.1 kB / 0.7962 GB, free: 44 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2466, allocations: 8 kB / 0.7962 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2466, allocations: 4.188 kB / 0.7962 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2466, allocations: 4 kB / 0.7962 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.2469, allocations: 67.84 kB / 0.7962 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.2469, allocations: 7.984 kB / 0.7963 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.2471, allocations: 35.73 kB / 0.7963 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.2471, allocations: 16 kB / 0.7963 GB, free: 15.9 MB / 0.6231 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 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.2473, allocations: 178.3 kB / 0.7965 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.2474, allocations: 43.53 kB / 0.7965 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2475, allocations: 40.25 kB / 0.7966 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.2475, allocations: 4 kB / 0.7966 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2475, allocations: 0 / 0.7966 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2475, allocations: 3.984 kB / 0.7966 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.2486, allocations: 0.8113 MB / 0.7974 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2486, allocations: 0 / 0.7974 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.2489, allocations: 55.91 kB / 0.7974 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.2489, allocations: 4 kB / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.2489, allocations: 7.984 kB / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2489, allocations: 0 / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2489, allocations: 4 kB / 0.7974 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.2497, allocations: 0.5072 MB / 0.7979 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2499, allocations: 136.6 kB / 0.798 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.2499, allocations: 8 kB / 0.7981 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.2501, allocations: 15.98 kB / 0.7981 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/0.2502, allocations: 23.97 kB / 0.7981 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.2502, allocations: 15.92 kB / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002289/0.2505, allocations: 239.2 kB / 0.7983 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2505, allocations: 3.938 kB / 0.7983 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003543/0.2508, allocations: 95.69 kB / 0.7984 GB, free: 13.62 MB / 0.6231 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 (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.0001535/0.251, allocations: 113.6 kB / 0.7985 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006098/0.2516, allocations: 279.9 kB / 0.7988 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2516, allocations: 0 / 0.7988 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.2519, allocations: 136.8 kB / 0.7989 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.2524, allocations: 98.98 kB / 0.799 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.2539, allocations: 0.81 MB / 0.7998 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.2543, allocations: 0.8113 MB / 0.8006 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.2544, allocations: 43.25 kB / 0.8007 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.2545, allocations: 35.42 kB / 0.8007 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.2545, allocations: 0 / 0.8007 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.007869/0.2624, allocations: 3.642 MB / 0.8042 GB, free: 7.648 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)