Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008843/0.0008843, allocations: 171 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4527/0.4527, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 348.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008001/0.0008004, allocations: 95.64 kB / 420.2 MB, free: 9.672 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.0004442, allocations: 12 kB / 0.4901 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3517, allocations: 71.02 MB / 0.5594 GB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.4846, allocations: 102.1 MB / 0.6591 GB, free: 7.441 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4849, allocations: 77.02 kB / 0.6592 GB, free: 7.367 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.4951, allocations: 3.537 MB / 0.6627 GB, free: 3.828 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.037e-06/0.4952, allocations: 0 / 0.6627 GB, free: 3.828 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.4952, allocations: 4 kB / 0.6627 GB, free: 3.824 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000846/0.4961, allocations: 459.3 kB / 0.6631 GB, free: 3.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.4961, allocations: 12.03 kB / 0.6631 GB, free: 3.309 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.4962, allocations: 16.75 kB / 0.6631 GB, free: 3.293 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.4966, allocations: 232.4 kB / 0.6634 GB, free: 3.027 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.4967, allocations: 12.36 kB / 0.6634 GB, free: 3.016 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.4967, allocations: 12.38 kB / 0.6634 GB, free: 3.004 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.4971, allocations: 161.3 kB / 0.6635 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4971, allocations: 4.172 kB / 0.6635 GB, free: 2.824 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.4971, allocations: 3.938 kB / 0.6635 GB, free: 2.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.4972, allocations: 4 kB / 0.6635 GB, free: 2.816 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.4974, allocations: 88.56 kB / 0.6636 GB, free: 2.73 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.4986, allocations: 0.751 MB / 0.6644 GB, free: 1.914 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.4988, allocations: 54.5 kB / 0.6644 GB, free: 1.852 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4989, allocations: 40.83 kB / 0.6645 GB, free: 1.809 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.4989, allocations: 8.578 kB / 0.6645 GB, free: 1.801 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.4992, allocations: 134.6 kB / 0.6646 GB, free: 1.645 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 2.414e-06/0.4992, allocations: 0 / 0.6646 GB, free: 1.645 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005024/0.4997, allocations: 189.4 kB / 0.6648 GB, free: 1.453 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.4998, allocations: 128.5 kB / 0.6649 GB, free: 1.297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.5, allocations: 198.9 kB / 0.6651 GB, free: 1.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.5, allocations: 33.7 kB / 0.6651 GB, free: 1.051 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.5001, allocations: 131.8 kB / 0.6652 GB, free: 0.918 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.5002, allocations: 35.59 kB / 0.6653 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.5002, allocations: 0 / 0.6653 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.5003, allocations: 326.8 kB / 0.6656 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.5004, allocations: 43.97 kB / 0.6656 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.5006, allocations: 150.5 kB / 0.6658 GB, free: 320 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.5009, allocations: 218.3 kB / 0.666 GB, free: 48 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5009, allocations: 3.938 kB / 0.666 GB, free: 44 kB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004015/0.5013, allocations: 213.2 kB / 0.6662 GB, free: 15.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5013, allocations: 5.875 kB / 0.6662 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.5014, allocations: 4.5 kB / 0.6662 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.5014, allocations: 12 kB / 0.6662 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.5015, allocations: 35.92 kB / 0.6662 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.5015, allocations: 11.94 kB / 0.6663 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.5017, allocations: 35.81 kB / 0.6663 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.5017, allocations: 8 kB / 0.6663 GB, free: 15.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.000129/0.5019, allocations: 141.6 kB / 0.6664 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.5019, allocations: 15.81 kB / 0.6664 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.502, allocations: 25.39 kB / 0.6665 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.502, allocations: 0 / 0.6665 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.502, allocations: 4.234 kB / 0.6665 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.502, allocations: 0 / 0.6665 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/0.5028, allocations: 0.533 MB / 0.667 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5028, allocations: 4 kB / 0.667 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.5029, allocations: 19.92 kB / 0.667 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.5029, allocations: 7.938 kB / 0.667 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.503, allocations: 4 kB / 0.667 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.503, allocations: 4 kB / 0.667 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.503, allocations: 0 / 0.667 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.5035, allocations: 372.2 kB / 0.6674 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.5036, allocations: 100.9 kB / 0.6675 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.5036, allocations: 0 / 0.6675 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.5038, allocations: 23.98 kB / 0.6675 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.5038, allocations: 15.92 kB / 0.6675 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.5038, allocations: 4 kB / 0.6675 GB, free: 14.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.504, allocations: 148.2 kB / 0.6677 GB, free: 14.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.504, allocations: 0 / 0.6677 GB, free: 14.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003206/0.5043, allocations: 28 kB / 0.6677 GB, free: 14.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0001564/0.5045, allocations: 111.2 kB / 0.6678 GB, free: 14.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.5048, allocations: 128.6 kB / 0.6679 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5048, allocations: 3.938 kB / 0.6679 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5049, allocations: 56.03 kB / 0.668 GB, free: 13.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.5055, allocations: 64.22 kB / 0.668 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.5061, allocations: 386.7 kB / 0.6684 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5064, allocations: 0.7245 MB / 0.6691 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.707e-05/0.5065, allocations: 22.06 kB / 0.6691 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.5066, allocations: 19.44 kB / 0.6692 GB, free: 12.61 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5066, allocations: 0 / 0.6692 GB, free: 12.61 MB / 490.7 MB Notification: Performance of Templates: time 0.004573/0.5111, allocations: 1.749 MB / 0.6709 GB, free: 10.88 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)