Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5085/0.5085, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.5 MB / 343.2 MB, free: 1.52 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009888/0.0009887, allocations: 94.59 kB / 415.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.797e-05, allocations: 0 / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1794, allocations: 72.3 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6166/0.7961, allocations: 108.9 MB / 0.6599 GB, free: 1.25 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.7965, allocations: 84.31 kB / 0.66 GB, free: 1.203 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02078/0.8173, allocations: 7.468 MB / 0.6673 GB, free: 11.03 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.8173, allocations: 0 / 0.6673 GB, free: 11.03 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.431e-05/0.8174, allocations: 16 kB / 0.6673 GB, free: 11.02 MB / 474.7 MB 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.001144/0.8185, allocations: 0.6418 MB / 0.668 GB, free: 10.36 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.8186, allocations: 8.031 kB / 0.668 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.8187, allocations: 51.44 kB / 0.668 GB, free: 10.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006273/0.8193, allocations: 398.2 kB / 0.6684 GB, free: 9.934 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.8194, allocations: 12 kB / 0.6684 GB, free: 9.922 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.8195, allocations: 28 kB / 0.6684 GB, free: 9.895 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004537/0.8199, allocations: 232.2 kB / 0.6687 GB, free: 9.762 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.8205, allocations: 338.4 kB / 0.669 GB, free: 9.484 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.8205, allocations: 0 / 0.669 GB, free: 9.484 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.8206, allocations: 3.984 kB / 0.669 GB, free: 9.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.8206, allocations: 12 kB / 0.669 GB, free: 9.469 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.8224, allocations: 1.295 MB / 0.6703 GB, free: 8.355 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.8229, allocations: 298.9 kB / 0.6705 GB, free: 8.164 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.8231, allocations: 115.8 kB / 0.6707 GB, free: 8.094 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.8232, allocations: 4 kB / 0.6707 GB, free: 8.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.8235, allocations: 157.6 kB / 0.6708 GB, free: 7.965 MB / 474.7 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.8235, allocations: 0 / 0.6708 GB, free: 7.965 MB / 474.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004778/0.824, allocations: 256.4 kB / 0.671 GB, free: 7.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.8241, allocations: 143.8 kB / 0.6712 GB, free: 7.602 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.8244, allocations: 275.5 kB / 0.6714 GB, free: 7.375 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.8244, allocations: 29.7 kB / 0.6715 GB, free: 7.34 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.8246, allocations: 236.5 kB / 0.6717 GB, free: 7.164 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.8247, allocations: 92.86 kB / 0.6718 GB, free: 7.082 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.8247, allocations: 0 / 0.6718 GB, free: 7.082 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8249, allocations: 352.6 kB / 0.6721 GB, free: 6.746 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.825, allocations: 90.94 kB / 0.6722 GB, free: 6.695 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.8252, allocations: 148.6 kB / 0.6724 GB, free: 6.574 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.8254, allocations: 89.92 kB / 0.6724 GB, free: 6.523 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.8254, allocations: 4 kB / 0.6724 GB, free: 6.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004775/0.8259, allocations: 303.2 kB / 0.6727 GB, free: 6.289 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.8259, allocations: 4 kB / 0.6727 GB, free: 6.285 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8259, allocations: 4 kB / 0.6727 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.826, allocations: 7.938 kB / 0.6728 GB, free: 6.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.8263, allocations: 63.89 kB / 0.6728 GB, free: 6.211 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.8263, allocations: 4 kB / 0.6728 GB, free: 6.207 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.8265, allocations: 43.27 kB / 0.6729 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.8265, allocations: 8 kB / 0.6729 GB, free: 6.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001269/0.8267, allocations: 128 kB / 0.673 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003784/0.8271, allocations: 258.5 kB / 0.6732 GB, free: 5.832 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.8271, allocations: 39.62 kB / 0.6733 GB, free: 5.793 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.669e-05/0.8272, allocations: 38.56 kB / 0.6733 GB, free: 5.773 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.8272, allocations: 7.984 kB / 0.6733 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8273, allocations: 0 / 0.6733 GB, free: 5.766 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.8273, allocations: 3.953 kB / 0.6733 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009268/0.8282, allocations: 0.745 MB / 0.674 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8282, allocations: 3.938 kB / 0.674 GB, free: 5.148 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.8285, allocations: 55.47 kB / 0.6741 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.8285, allocations: 0 / 0.6741 GB, free: 5.098 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.8285, allocations: 7.984 kB / 0.6741 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.8285, allocations: 0 / 0.6741 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.8285, allocations: 7.891 kB / 0.6741 GB, free: 5.082 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.8291, allocations: 488.3 kB / 0.6746 GB, free: 4.715 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.8293, allocations: 141.5 kB / 0.6747 GB, free: 4.574 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.8294, allocations: 4 kB / 0.6747 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.8296, allocations: 32.03 kB / 0.6748 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.8297, allocations: 23.53 kB / 0.6748 GB, free: 4.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.8297, allocations: 15.12 kB / 0.6748 GB, free: 4.508 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.8299, allocations: 214.8 kB / 0.675 GB, free: 4.348 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.8299, allocations: 0 / 0.675 GB, free: 4.348 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.8303, allocations: 75.78 kB / 0.6751 GB, free: 4.273 MB / 474.7 MB 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.and3.u1) * Number of discrete states: 1 (con.hys.y) * 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.0008765/0.8312, allocations: 1.02 MB / 0.6761 GB, free: 3.352 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.8316, allocations: 239.5 kB / 0.6763 GB, free: 3.195 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8316, allocations: 0 / 0.6763 GB, free: 3.195 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.8318, allocations: 127.5 kB / 0.6764 GB, free: 3.109 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.8323, allocations: 65.11 kB / 0.6765 GB, free: 3.059 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.8337, allocations: 0.6296 MB / 0.6771 GB, free: 2.457 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.8341, allocations: 0.823 MB / 0.6779 GB, free: 1.609 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000181/0.8343, allocations: 43.27 kB / 0.6779 GB, free: 1.566 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.8345, allocations: 143.8 kB / 0.6781 GB, free: 1.523 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.8345, allocations: 0 / 0.6781 GB, free: 1.523 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.8631, allocations: 6.613 MB / 0.6845 GB, free: 10.96 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.8633, allocations: 154.2 kB / 0.6847 GB, free: 10.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/3.122, allocations: 0 / 0.6847 GB, free: 10.77 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)