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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.0009963/0.0009965, allocations: 173.1 kB / 377.1 MB, free: 1.531 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.82/1.82, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.0008837/0.0008839, allocations: 97.45 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2802, allocations: 116.3 MB / 0.9884 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8205/1.101, allocations: 139.6 MB / 1.125 GB, free: 35.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/1.101, allocations: 73.72 kB / 1.125 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008735/1.11, allocations: 3.288 MB / 1.128 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.355e-06/1.11, allocations: 0 / 1.128 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.227e-06/1.11, allocations: 4 kB / 1.128 GB, free: 32.8 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.0005576/1.111, allocations: 451.6 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.111, allocations: 12.02 kB / 1.129 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/1.111, allocations: 41.98 kB / 1.129 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/1.111, allocations: 13.97 kB / 1.129 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/1.111, allocations: 180.1 kB / 1.129 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/1.111, allocations: 18.91 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/1.111, allocations: 8 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/1.111, allocations: 96.75 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.111, allocations: 0 / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/1.111, allocations: 4.203 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.111, allocations: 4 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/1.111, allocations: 70.19 kB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/1.112, allocations: 443 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/1.112, allocations: 45.66 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/1.112, allocations: 4 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/1.113, allocations: 113.1 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/1.113, allocations: 0 / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0004259/1.113, allocations: 163.9 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/1.113, allocations: 51.41 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/1.113, allocations: 145.7 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/1.113, allocations: 25.7 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/1.113, allocations: 112 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/1.113, allocations: 24.47 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/1.113, allocations: 0 / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.846e-05/1.113, allocations: 326.4 kB / 1.13 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/1.114, allocations: 61.78 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/1.114, allocations: 136.8 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/1.114, allocations: 100.7 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.114, allocations: 0 / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004588/1.114, allocations: 270.8 kB / 1.131 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.114, allocations: 40.03 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.114, allocations: 9.844 kB / 1.131 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.115, allocations: 4 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.115, allocations: 31.02 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.115, allocations: 4 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/1.115, allocations: 54.97 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/1.115, allocations: 8 kB / 1.131 GB, free: 29.79 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 9.21e-05/1.115, allocations: 136.3 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/1.115, allocations: 11.81 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/1.115, allocations: 16.67 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.115, allocations: 0 / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.115, allocations: 3.516 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.115, allocations: 0.5625 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/1.116, allocations: 423.3 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.116, allocations: 7.875 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/1.116, allocations: 24.14 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/1.116, allocations: 0 / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/1.116, allocations: 0 / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.116, allocations: 4 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.116, allocations: 0 / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/1.116, allocations: 276.8 kB / 1.132 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/1.116, allocations: 92.33 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/1.116, allocations: 4.516 kB / 1.132 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/1.116, allocations: 16.31 kB / 1.132 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/1.116, allocations: 7.234 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/1.116, allocations: 8 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.106e-05/1.117, allocations: 113.1 kB / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 0 / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002913/1.117, allocations: 39.28 kB / 1.132 GB, free: 28.64 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.0006879/1.118, allocations: 0.8177 MB / 1.133 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003928/1.118, allocations: 204.9 kB / 1.133 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.118, allocations: 0 / 1.133 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/1.118, allocations: 47.48 kB / 1.133 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/1.118, allocations: 33.7 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/1.119, allocations: 2.232 MB / 1.135 GB, free: 25.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/1.12, allocations: 0.7082 MB / 1.136 GB, free: 24.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.203e-05/1.12, allocations: 16.28 kB / 1.136 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/1.12, allocations: 30.95 kB / 1.136 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.12, allocations: 1.031 kB / 1.136 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/1.136, allocations: 2.871 MB / 1.139 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.136, allocations: 199 kB / 1.139 GB, free: 22.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.863, allocations: 0 / 1.139 GB, free: 22.71 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)