Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.6 MB / 307.5 MB, free: 5.07 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.001173/0.001173, allocations: 189 kB / 377.1 MB, free: 1.395 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.927/1.927, allocations: 205.4 MB / 0.6367 GB, free: 9.555 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.0008638/0.0008639, allocations: 89.64 kB / 0.751 GB, free: 62.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004984, allocations: 12 kB / 0.8748 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2918, allocations: 116.3 MB / 0.9884 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7687/1.061, allocations: 139.6 MB / 1.125 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/1.061, allocations: 72.42 kB / 1.125 GB, free: 35.26 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008633/1.069, allocations: 3.285 MB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.793e-06/1.069, allocations: 0 / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.425e-06/1.07, allocations: 4 kB / 1.128 GB, free: 32.89 MB / 0.7292 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.0005325/1.07, allocations: 443.1 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.07, allocations: 12.03 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.07e-05/1.07, allocations: 14.47 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/1.07, allocations: 178.4 kB / 1.129 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/1.07, allocations: 9.203 kB / 1.129 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/1.07, allocations: 15.94 kB / 1.129 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/1.071, allocations: 108.2 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/1.071, allocations: 0.5 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.071, allocations: 1.719 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.071, allocations: 0 / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/1.071, allocations: 69.81 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/1.072, allocations: 441.8 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/1.072, allocations: 45.47 kB / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/1.072, allocations: 0 / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/1.072, allocations: 114.3 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/1.072, allocations: 0 / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0004695/1.073, allocations: 164.4 kB / 1.13 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.073, allocations: 51.41 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/1.073, allocations: 141.2 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/1.073, allocations: 29.7 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/1.073, allocations: 112.1 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/1.073, allocations: 23.62 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/1.073, allocations: 0.5625 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/1.073, allocations: 330 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/1.073, allocations: 62.5 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/1.074, allocations: 136.8 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/1.074, allocations: 100.5 kB / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.074, allocations: 0 / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004643/1.074, allocations: 264.1 kB / 1.131 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/1.074, allocations: 37.7 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.074, allocations: 9.375 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1.074, allocations: 4 kB / 1.131 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/1.074, allocations: 27.02 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.074, allocations: 4 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/1.075, allocations: 58.69 kB / 1.131 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/1.075, allocations: 8.938 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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.0001077/1.075, allocations: 130.2 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/1.075, allocations: 19.81 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/1.075, allocations: 8.719 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.075, allocations: 11.89 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.075, allocations: 0.75 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.075, allocations: 3.328 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/1.075, allocations: 425.6 kB / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.076, allocations: 0 / 1.131 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/1.076, allocations: 19.92 kB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.076, allocations: 3.953 kB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/1.076, allocations: 3.422 kB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.076, allocations: 0 / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.076, allocations: 4.5 kB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/1.076, allocations: 276.8 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/1.076, allocations: 92.95 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/1.076, allocations: 3.953 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/1.076, allocations: 15.59 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/1.076, allocations: 8.453 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/1.076, allocations: 3.234 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.103e-05/1.076, allocations: 116.8 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.076, allocations: 0 / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000287/1.077, allocations: 36 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002057/1.077, allocations: 122.7 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003751/1.077, allocations: 203.8 kB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.077, allocations: 8.25 kB / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/1.077, allocations: 39.97 kB / 1.132 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/1.078, allocations: 15.33 kB / 1.132 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/1.078, allocations: 309 kB / 1.133 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/1.078, allocations: 0.7089 MB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.264e-05/1.078, allocations: 9.078 kB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/1.078, allocations: 16.47 kB / 1.133 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.078, allocations: 0 / 1.133 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.004374/1.083, allocations: 1.57 MB / 1.135 GB, free: 26.52 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)