Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 285.4 MB / 298 MB, free: 5.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009438/0.0009437, allocations: 184.8 kB / 366.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 97.69 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.671e-05/4.695e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7862, allocations: 115.3 MB / 0.971 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.9976, allocations: 138.6 MB / 1.106 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.9979, allocations: 69.41 kB / 1.106 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003252/1.001, allocations: 1.098 MB / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.214e-06/1.001, allocations: 0 / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.001, allocations: 0 / 1.107 GB, free: 12.01 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004565/1.002, allocations: 368 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.002, allocations: 8.031 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/1.002, allocations: 34.56 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/1.002, allocations: 5.969 kB / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/1.002, allocations: 174.9 kB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.002, allocations: 8 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/1.002, allocations: 4 kB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/1.002, allocations: 55.16 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/1.002, allocations: 0 / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/1.002, allocations: 4 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.002, allocations: 1.562 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.851e-05/1.002, allocations: 27.98 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/1.003, allocations: 303 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/1.003, allocations: 55.47 kB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/1.003, allocations: 25.73 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/1.003, allocations: 4 kB / 1.109 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/1.003, allocations: 74.58 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/1.003, allocations: 0.6562 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002092/1.003, allocations: 81.53 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/1.003, allocations: 60.59 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/1.004, allocations: 97 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/1.004, allocations: 32.42 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/1.004, allocations: 84.14 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/1.004, allocations: 23.69 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/1.004, allocations: 4 kB / 1.109 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.004, allocations: 314.8 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/1.004, allocations: 21.41 kB / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.149e-05/1.004, allocations: 45.2 kB / 1.109 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/1.004, allocations: 23.45 kB / 1.109 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.004, allocations: 1.938 kB / 1.109 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001363/1.004, allocations: 93.45 kB / 1.109 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.004, allocations: 8 kB / 1.109 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.004, allocations: 0 / 1.109 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.004, allocations: 0 / 1.109 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/1.004, allocations: 16.86 kB / 1.109 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.004, allocations: 4 kB / 1.109 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/1.004, allocations: 9.359 kB / 1.109 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/1.004, allocations: 4 kB / 1.109 GB, free: 9.781 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.769e-05/1.005, allocations: 128 kB / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/1.005, allocations: 9.625 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/1.005, allocations: 8.094 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.005, allocations: 2.906 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.005, allocations: 0 / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.005, allocations: 8.031 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/1.005, allocations: 354.5 kB / 1.11 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.005, allocations: 0 / 1.11 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/1.005, allocations: 4 kB / 1.11 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.005, allocations: 3.984 kB / 1.11 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/1.005, allocations: 0 / 1.11 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.005, allocations: 0 / 1.11 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.005, allocations: 11.95 kB / 1.11 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/1.005, allocations: 175.4 kB / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/1.005, allocations: 81.09 kB / 1.11 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/1.005, allocations: 4 kB / 1.11 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/1.005, allocations: 8 kB / 1.11 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/1.005, allocations: 19.81 kB / 1.11 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/1.006, allocations: 3.984 kB / 1.11 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.359e-05/1.006, allocations: 87.28 kB / 1.11 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.006, allocations: 6.812 kB / 1.11 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002171/1.006, allocations: 12 kB / 1.11 GB, free: 8.781 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004661/1.006, allocations: 0.7113 MB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001229/1.006, allocations: 51.94 kB / 1.111 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.006, allocations: 0 / 1.111 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/1.006, allocations: 31.92 kB / 1.111 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/1.007, allocations: 11.98 kB / 1.111 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/1.007, allocations: 149.1 kB / 1.111 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/1.007, allocations: 0.6927 MB / 1.112 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.009e-05/1.007, allocations: 7.984 kB / 1.112 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/1.008, allocations: 15.44 kB / 1.112 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/1.008, allocations: 0.8438 kB / 1.112 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01298/1.021, allocations: 1.477 MB / 1.113 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.021, allocations: 166.9 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.713, allocations: 4 kB / 1.114 GB, free: 5.523 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)