Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8032/0.8032, allocations: 128.7 MB / 143.7 MB, free: 2.316 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 174.4 kB / 173.7 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009398/0.0009399, allocations: 91.23 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 7.469 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4994/0.6668, allocations: 110.9 MB / 0.7437 GB, free: 36.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.6671, allocations: 88.62 kB / 0.7438 GB, free: 36.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01967/0.6868, allocations: 7.918 MB / 0.7515 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.925e-06/0.6869, allocations: 1.031 kB / 0.7515 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.876e-05/0.6869, allocations: 9.219 kB / 0.7515 GB, free: 35.86 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001396/0.6883, allocations: 0.7159 MB / 0.7522 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.6884, allocations: 8.25 kB / 0.7522 GB, free: 35.34 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.6885, allocations: 80.84 kB / 0.7523 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.6887, allocations: 54.84 kB / 0.7524 GB, free: 35.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.6894, allocations: 401.6 kB / 0.7527 GB, free: 35.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.6894, allocations: 31.19 kB / 0.7528 GB, free: 35.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.6895, allocations: 44.58 kB / 0.7528 GB, free: 35.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.6902, allocations: 420.1 kB / 0.7532 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.6903, allocations: 5.406 kB / 0.7532 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.6903, allocations: 20.52 kB / 0.7532 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.6903, allocations: 8.25 kB / 0.7532 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.691, allocations: 293.8 kB / 0.7535 GB, free: 34.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.6931, allocations: 1.392 MB / 0.7549 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008537/0.6939, allocations: 360.2 kB / 0.7552 GB, free: 34.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.694, allocations: 3.125 kB / 0.7552 GB, free: 34.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.6944, allocations: 202.3 kB / 0.7554 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.865e-06/0.6945, allocations: 0 / 0.7554 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009518/0.6954, allocations: 435.6 kB / 0.7558 GB, free: 34.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.6955, allocations: 136.9 kB / 0.756 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.6959, allocations: 323.5 kB / 0.7563 GB, free: 33.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.696, allocations: 35.92 kB / 0.7563 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.6962, allocations: 235.1 kB / 0.7565 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.6963, allocations: 104.1 kB / 0.7566 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.6963, allocations: 6.656 kB / 0.7566 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6964, allocations: 349.2 kB / 0.757 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.6967, allocations: 118.8 kB / 0.7571 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.697, allocations: 187.7 kB / 0.7573 GB, free: 33.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.6973, allocations: 132.1 kB / 0.7574 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6973, allocations: 0 / 0.7574 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006406/0.6979, allocations: 370.8 kB / 0.7577 GB, free: 33.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.6981, allocations: 458.8 kB / 0.7582 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.6981, allocations: 1.375 kB / 0.7582 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.6981, allocations: 2.719 kB / 0.7582 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.6984, allocations: 65.14 kB / 0.7583 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.6984, allocations: 2.656 kB / 0.7583 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.6987, allocations: 56.38 kB / 0.7583 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.6988, allocations: 11.41 kB / 0.7583 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.6988, allocations: 4.375 kB / 0.7583 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005206/0.6993, allocations: 284 kB / 0.7586 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.6993, allocations: 1.438 kB / 0.7586 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.6993, allocations: 4.656 kB / 0.7586 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.6996, allocations: 57.61 kB / 0.7587 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6996, allocations: 4.703 kB / 0.7587 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.6998, allocations: 42.25 kB / 0.7587 GB, free: 32.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.6999, allocations: 8.156 kB / 0.7587 GB, free: 32.58 MB / 0.5105 GB 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.0002474/0.7001, allocations: 254.9 kB / 0.759 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.828e-05/0.7002, allocations: 43.39 kB / 0.759 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.7003, allocations: 46.14 kB / 0.759 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.7003, allocations: 4.906 kB / 0.759 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.7003, allocations: 0 / 0.759 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.7004, allocations: 1.875 kB / 0.759 GB, free: 32.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.7016, allocations: 0.8697 MB / 0.7599 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7016, allocations: 48 / 0.7599 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.7018, allocations: 59.3 kB / 0.7599 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.7019, allocations: 5.438 kB / 0.76 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.7019, allocations: 8.047 kB / 0.76 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.7019, allocations: 1.406 kB / 0.76 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7019, allocations: 0 / 0.76 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009112/0.7028, allocations: 0.5718 MB / 0.7605 GB, free: 31.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.703, allocations: 145.2 kB / 0.7607 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.7031, allocations: 8.406 kB / 0.7607 GB, free: 31.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.7033, allocations: 36.39 kB / 0.7607 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.7034, allocations: 25.88 kB / 0.7607 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.7034, allocations: 13.94 kB / 0.7607 GB, free: 31.72 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002876/0.7037, allocations: 248.5 kB / 0.761 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7037, allocations: 0 / 0.761 GB, free: 31.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005989/0.7043, allocations: 157.5 kB / 0.7611 GB, free: 31.61 MB / 0.5105 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.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.001086/0.7054, allocations: 1.132 MB / 0.7622 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008222/0.7063, allocations: 456.2 kB / 0.7627 GB, free: 30.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7063, allocations: 0 / 0.7627 GB, free: 30.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.7066, allocations: 150.5 kB / 0.7628 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.7071, allocations: 85.67 kB / 0.7629 GB, free: 30.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.7112, allocations: 2.98 MB / 0.7658 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.7115, allocations: 0.8256 MB / 0.7666 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.7117, allocations: 54.38 kB / 0.7667 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.7119, allocations: 153.5 kB / 0.7668 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.712, allocations: 0 / 0.7668 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.7363, allocations: 7.763 MB / 0.7744 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.7365, allocations: 195.7 kB / 0.7746 GB, free: 27.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.687, allocations: 2.953 kB / 0.7746 GB, free: 27.84 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)