Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.921/3.921, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002356/0.002356, allocations: 172.3 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.177/4.177, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 87.86 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007569/0.000757, allocations: 12.47 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3335, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.6763, allocations: 132.4 MB / 1.029 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005124/0.6769, allocations: 91.94 kB / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01391/0.6909, allocations: 1.811 MB / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6909, allocations: 0 / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.881e-05/0.691, allocations: 4 kB / 1.031 GB, free: 11.03 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001621/0.6926, allocations: 447.2 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/0.6927, allocations: 11.97 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.6928, allocations: 16.75 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.6931, allocations: 168.3 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.6931, allocations: 8.375 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.6932, allocations: 4.375 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.6937, allocations: 102.1 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.6938, allocations: 4.188 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.6938, allocations: 7.938 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.6938, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.6943, allocations: 75.89 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.696, allocations: 420.4 kB / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.6965, allocations: 58.56 kB / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.6968, allocations: 40.95 kB / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.6968, allocations: 0 / 1.032 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.6969, allocations: 38.56 kB / 1.032 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 4.178e-06/0.6969, allocations: 0 / 1.032 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0008759/0.6978, allocations: 121.5 kB / 1.032 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.6979, allocations: 59.41 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.6982, allocations: 158.3 kB / 1.032 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.6983, allocations: 29.7 kB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.6984, allocations: 108 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.6985, allocations: 15.89 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.6985, allocations: 0 / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.6987, allocations: 326.8 kB / 1.033 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.699, allocations: 35.98 kB / 1.033 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.6993, allocations: 31.98 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.6995, allocations: 23.98 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6995, allocations: 0 / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006282/0.7002, allocations: 113.5 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.7002, allocations: 4 kB / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.7003, allocations: 4 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.7003, allocations: 0 / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.7006, allocations: 11.98 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.7006, allocations: 3.938 kB / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.7011, allocations: 35.97 kB / 1.033 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.7012, allocations: 3.938 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0002256/0.7014, allocations: 119.1 kB / 1.033 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.7015, allocations: 7.906 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.7016, allocations: 16.31 kB / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7016, allocations: 4 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/0.7017, allocations: 7.922 kB / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.7017, allocations: 0 / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.7022, allocations: 197.5 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7022, allocations: 0 / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.7024, allocations: 8 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.7024, allocations: 4 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.7024, allocations: 7.984 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.7024, allocations: 256 / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.7025, allocations: 11.94 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.7031, allocations: 183.3 kB / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.7032, allocations: 89 kB / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.7033, allocations: 4 kB / 1.034 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.7039, allocations: 31.97 kB / 1.034 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.704, allocations: 23.91 kB / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.7041, allocations: 0 / 1.034 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002196/0.7043, allocations: 115.2 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.12e-07/0.7043, allocations: 7.938 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005587/0.7049, allocations: 12 kB / 1.034 GB, free: 7.441 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0002271/0.7052, allocations: 95.48 kB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006438/0.7058, allocations: 75.95 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.7059, allocations: 4 kB / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.7062, allocations: 43.91 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.7069, allocations: 8 kB / 1.034 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.7079, allocations: 236.7 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/0.7084, allocations: 0.6965 MB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.7086, allocations: 8 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.7087, allocations: 15.42 kB / 1.035 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of SimCode: time 1.874e-06/0.7087, allocations: 0 / 1.035 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of Templates: time 0.01588/0.7246, allocations: 1.065 MB / 1.036 GB, free: 5.156 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)