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.7281/0.7281, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001604, allocations: 196.7 kB / 169.7 MB, free: 1.715 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.705/1.705, allocations: 205.1 MB / 404.5 MB, free: 1.637 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.0008881/0.0008882, allocations: 87.86 kB / 481.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.668e-05/4.691e-05, allocations: 0 / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1803, allocations: 76.76 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5789/0.7593, allocations: 110.8 MB / 0.7365 GB, free: 2.684 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.7595, allocations: 81.95 kB / 0.7365 GB, free: 2.641 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02104/0.7806, allocations: 7.892 MB / 0.7442 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7807, allocations: 0 / 0.7442 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.227e-05/0.7807, allocations: 12.12 kB / 0.7443 GB, free: 12 MB / 0.4948 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.001084/0.7818, allocations: 0.6469 MB / 0.7449 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.7819, allocations: 8.031 kB / 0.7449 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.804e-05/0.782, allocations: 77.17 kB / 0.745 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.7821, allocations: 55.34 kB / 0.745 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.7827, allocations: 409.5 kB / 0.7454 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.7828, allocations: 27.91 kB / 0.7454 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.7829, allocations: 44.94 kB / 0.7455 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.7836, allocations: 396.2 kB / 0.7459 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.7836, allocations: 4 kB / 0.7459 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.7836, allocations: 18.39 kB / 0.7459 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.7837, allocations: 8 kB / 0.7459 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.7841, allocations: 253.2 kB / 0.7461 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.7861, allocations: 1.391 MB / 0.7475 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/0.7867, allocations: 309.6 kB / 0.7478 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.7869, allocations: 125.7 kB / 0.7479 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.787, allocations: 4 kB / 0.7479 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.7873, allocations: 173.8 kB / 0.7481 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/0.7873, allocations: 0 / 0.7481 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.0005754/0.7879, allocations: 281.2 kB / 0.7483 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.788, allocations: 140.4 kB / 0.7485 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.7884, allocations: 315.2 kB / 0.7488 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.7885, allocations: 33.27 kB / 0.7488 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.7887, allocations: 232.9 kB / 0.749 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.7888, allocations: 104.6 kB / 0.7491 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.7888, allocations: 6.75 kB / 0.7491 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.789, allocations: 348.5 kB / 0.7495 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.7892, allocations: 92.62 kB / 0.7496 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.7895, allocations: 168.3 kB / 0.7497 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.7897, allocations: 113.5 kB / 0.7498 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7897, allocations: 0 / 0.7498 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005391/0.7902, allocations: 326.5 kB / 0.7501 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.7905, allocations: 454.7 kB / 0.7506 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.7905, allocations: 0 / 0.7506 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.7905, allocations: 8 kB / 0.7506 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.7908, allocations: 71.83 kB / 0.7507 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.7908, allocations: 3.938 kB / 0.7507 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.7911, allocations: 50.77 kB / 0.7507 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.7912, allocations: 15.56 kB / 0.7507 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.7912, allocations: 7.953 kB / 0.7507 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004023/0.7916, allocations: 256.2 kB / 0.751 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.7916, allocations: 4 kB / 0.751 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.7916, allocations: 4 kB / 0.751 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.7918, allocations: 59.09 kB / 0.751 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7919, allocations: 4 kB / 0.751 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.7921, allocations: 42.55 kB / 0.7511 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.7921, allocations: 8 kB / 0.7511 GB, free: 6.062 MB / 0.4948 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 () * 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.0001419/0.7922, allocations: 135.5 kB / 0.7512 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.259e-05/0.7923, allocations: 43.47 kB / 0.7513 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.7924, allocations: 44.38 kB / 0.7513 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.7924, allocations: 4 kB / 0.7513 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.7925, allocations: 0 / 0.7513 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7925, allocations: 4 kB / 0.7513 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.7936, allocations: 0.8378 MB / 0.7521 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7936, allocations: 0 / 0.7521 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.7939, allocations: 51.91 kB / 0.7522 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.7939, allocations: 4 kB / 0.7522 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.794, allocations: 11.98 kB / 0.7522 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.794, allocations: 4 kB / 0.7522 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.794, allocations: 4 kB / 0.7522 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.7947, allocations: 0.4912 MB / 0.7527 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.7949, allocations: 144.5 kB / 0.7528 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.795, allocations: 15.92 kB / 0.7528 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.7953, allocations: 32.05 kB / 0.7529 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.615e-05/0.7954, allocations: 31.89 kB / 0.7529 GB, free: 4.121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.7954, allocations: 8 kB / 0.7529 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002992/0.7957, allocations: 246.2 kB / 0.7531 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7957, allocations: 0 / 0.7531 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005735/0.7963, allocations: 155.5 kB / 0.7533 GB, free: 3.723 MB / 0.4948 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) * 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.001163/0.7975, allocations: 1.068 MB / 0.7543 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007854/0.7983, allocations: 405.8 kB / 0.7547 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.7983, allocations: 0 / 0.7547 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.7985, allocations: 135.8 kB / 0.7548 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.7991, allocations: 93.84 kB / 0.7549 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.8008, allocations: 0.6653 MB / 0.7556 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.8013, allocations: 0.824 MB / 0.7564 GB, free: 460 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003351/0.8016, allocations: 81.2 kB / 0.7565 GB, free: 376 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.8018, allocations: 143.3 kB / 0.7566 GB, free: 232 kB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.8019, allocations: 0 / 0.7566 GB, free: 232 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.8275, allocations: 8.218 MB / 0.7646 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.8277, allocations: 165.5 kB / 0.7648 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/3.11, allocations: 0 / 0.7648 GB, free: 7.926 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)