Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001212/0.001212, allocations: 176.9 kB / 361.4 MB, free: 6.879 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.71/1.71, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009621/0.0009619, allocations: 96.98 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.113e-05/2.129e-05, allocations: 4 kB / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6929/0.6929, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.8909, allocations: 138 MB / 1.099 GB, free: 1.879 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.8912, allocations: 87.94 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004919/0.8961, allocations: 1.749 MB / 1.101 GB, free: 92 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8962, allocations: 0 / 1.101 GB, free: 92 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.8962, allocations: 4 kB / 1.101 GB, free: 88 kB / 0.698 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.0006222/0.8968, allocations: 424.7 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.8969, allocations: 16.02 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.8969, allocations: 12.84 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.8971, allocations: 186.9 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.8971, allocations: 2.953 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.8972, allocations: 4 kB / 1.102 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000115/0.8973, allocations: 40 kB / 1.102 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.8974, allocations: 78.17 kB / 1.102 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.8974, allocations: 0 / 1.102 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.8975, allocations: 4 kB / 1.102 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.8975, allocations: 7.984 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.8982, allocations: 378.5 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.522e-05/0.8983, allocations: 46.53 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.8984, allocations: 24.98 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.8984, allocations: 6.203 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.8984, allocations: 30.56 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.8984, allocations: 0 / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001903/0.8986, allocations: 65.59 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.8987, allocations: 51.41 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.8988, allocations: 126.8 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.8988, allocations: 29.7 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.8989, allocations: 108.1 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.8989, allocations: 19.8 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.8989, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.899, allocations: 322.8 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.8991, allocations: 16 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.8991, allocations: 20 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.8991, allocations: 8 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8991, allocations: 0 / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001119/0.8993, allocations: 77.55 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.8993, allocations: 7.828 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.8993, allocations: 0 / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.8993, allocations: 6.938 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.8994, allocations: 11.98 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.8994, allocations: 5.969 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.8996, allocations: 35.91 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.8996, allocations: 0 / 1.103 GB, free: 13.78 MB / 0.7136 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 () * 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 7.528e-05/0.8997, allocations: 105 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.8997, allocations: 11.84 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.8998, allocations: 16.41 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.8998, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8998, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8998, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.9, allocations: 166.2 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.9, allocations: 0 / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.9001, allocations: 19.98 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.9001, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.9001, allocations: 7.953 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9001, allocations: 0 / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.9001, allocations: 0 / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.9003, allocations: 163.4 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.9003, allocations: 85.02 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.9003, allocations: 7.875 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.9005, allocations: 34.48 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.9006, allocations: 23.91 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.9006, allocations: 1.406 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.692e-05/0.9007, allocations: 105.5 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9007, allocations: 0 / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002173/0.9009, allocations: 19.94 kB / 1.104 GB, free: 12.96 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * 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.0001073/0.901, allocations: 101.9 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.9012, allocations: 40 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.9012, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.556e-05/0.9012, allocations: 31.92 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.9014, allocations: 12 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.9017, allocations: 115.6 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.902, allocations: 0.7001 MB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.518e-05/0.9021, allocations: 8.188 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.9021, allocations: 12.38 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9021, allocations: 0 / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of Templates: time 0.002852/0.905, allocations: 0.9374 MB / 1.106 GB, free: 11 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)