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.002061/0.002061, allocations: 180.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6418/0.6418, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 100.3 kB / 427.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003604, allocations: 8 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 72.3 MB / 0.5689 GB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5231/0.6723, allocations: 109.6 MB / 0.676 GB, free: 10.85 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.6727, allocations: 91.94 kB / 0.676 GB, free: 10.76 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02064/0.6934, allocations: 7.559 MB / 0.6834 GB, free: 3.195 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.6934, allocations: 0 / 0.6834 GB, free: 3.195 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.461e-05/0.6935, allocations: 12 kB / 0.6834 GB, free: 3.184 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.001414/0.6949, allocations: 0.7036 MB / 0.6841 GB, free: 2.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.695, allocations: 8.031 kB / 0.6841 GB, free: 2.422 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.6951, allocations: 74.53 kB / 0.6842 GB, free: 2.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.6952, allocations: 55.34 kB / 0.6843 GB, free: 2.285 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006585/0.6959, allocations: 411.5 kB / 0.6847 GB, free: 1.844 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.696, allocations: 29 kB / 0.6847 GB, free: 1.812 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.6961, allocations: 36 kB / 0.6847 GB, free: 1.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/0.6968, allocations: 422.5 kB / 0.6851 GB, free: 1.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.6969, allocations: 7.938 kB / 0.6851 GB, free: 1.332 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.6969, allocations: 16 kB / 0.6851 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.6969, allocations: 12 kB / 0.6851 GB, free: 1.305 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006072/0.6975, allocations: 299.8 kB / 0.6854 GB, free: 1.012 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.6996, allocations: 1.367 MB / 0.6868 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007834/0.7004, allocations: 358.6 kB / 0.6871 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.7004, allocations: 4 kB / 0.6871 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/0.7009, allocations: 189.4 kB / 0.6873 GB, free: 15.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.835e-06/0.7009, allocations: 0 / 0.6873 GB, free: 15.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009286/0.7018, allocations: 430.7 kB / 0.6877 GB, free: 14.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/0.7019, allocations: 144.5 kB / 0.6878 GB, free: 14.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.7024, allocations: 320.8 kB / 0.6882 GB, free: 14.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.7024, allocations: 37.7 kB / 0.6882 GB, free: 14.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.7026, allocations: 228.7 kB / 0.6884 GB, free: 13.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.292e-05/0.7027, allocations: 102.5 kB / 0.6885 GB, free: 13.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.7027, allocations: 8 kB / 0.6885 GB, free: 13.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7029, allocations: 350.8 kB / 0.6888 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.7032, allocations: 115.9 kB / 0.689 GB, free: 13.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.7035, allocations: 179.8 kB / 0.6891 GB, free: 13.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.7037, allocations: 133.5 kB / 0.6893 GB, free: 12.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7038, allocations: 0 / 0.6893 GB, free: 12.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006978/0.7045, allocations: 374.1 kB / 0.6896 GB, free: 12.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.7045, allocations: 4 kB / 0.6896 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.7045, allocations: 0 / 0.6896 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.7045, allocations: 4 kB / 0.6896 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.7048, allocations: 71.97 kB / 0.6897 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.7048, allocations: 4 kB / 0.6897 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.7051, allocations: 51.67 kB / 0.6897 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.7052, allocations: 12 kB / 0.6898 GB, free: 12.4 MB / 490.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 () * Number of clocked 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.0002527/0.7054, allocations: 178.9 kB / 0.6899 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.7055, allocations: 39.53 kB / 0.69 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.7056, allocations: 48.23 kB / 0.69 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.7056, allocations: 7.938 kB / 0.69 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7057, allocations: 0 / 0.69 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.7057, allocations: 0 / 0.69 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.707, allocations: 0.8688 MB / 0.6909 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7071, allocations: 4 kB / 0.6909 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.7073, allocations: 55.91 kB / 0.6909 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7073, allocations: 0 / 0.6909 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.7074, allocations: 8 kB / 0.6909 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7074, allocations: 0 / 0.6909 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7074, allocations: 7.953 kB / 0.6909 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.7084, allocations: 0.5652 MB / 0.6915 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.7086, allocations: 140.6 kB / 0.6916 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.7086, allocations: 12 kB / 0.6916 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.7089, allocations: 27.98 kB / 0.6917 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.709, allocations: 32.02 kB / 0.6917 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.709, allocations: 11.95 kB / 0.6917 GB, free: 10.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002757/0.7093, allocations: 251.2 kB / 0.6919 GB, free: 10.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7093, allocations: 0 / 0.6919 GB, free: 10.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003853/0.7097, allocations: 91.67 kB / 0.692 GB, free: 9.973 MB / 490.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) * 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.001214/0.7109, allocations: 1.116 MB / 0.6931 GB, free: 8.836 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006027/0.7115, allocations: 295.8 kB / 0.6934 GB, free: 8.547 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7116, allocations: 0 / 0.6934 GB, free: 8.547 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.7118, allocations: 164 kB / 0.6936 GB, free: 8.387 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.7124, allocations: 69.45 kB / 0.6936 GB, free: 8.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.7167, allocations: 2.98 MB / 0.6965 GB, free: 5.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.7172, allocations: 0.8269 MB / 0.6973 GB, free: 4.418 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.7174, allocations: 47.27 kB / 0.6974 GB, free: 4.371 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.7177, allocations: 147.4 kB / 0.6975 GB, free: 4.227 MB / 490.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7177, allocations: 0 / 0.6975 GB, free: 4.227 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.7394, allocations: 7.424 MB / 0.7048 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.7397, allocations: 193.4 kB / 0.705 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.117, allocations: 4 kB / 0.705 GB, free: 12.75 MB / 0.4948 GB (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)