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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4613/0.4613, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.205/1.205, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008705/0.0008704, allocations: 101.7 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.706e-05, allocations: 4 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.365, allocations: 72.31 MB / 0.5603 GB, free: 40.3 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.4877, allocations: 103.4 MB / 0.6613 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.488, allocations: 71.03 kB / 0.6614 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009026/0.497, allocations: 3.537 MB / 0.6648 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.497, allocations: 0 / 0.6648 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.4971, allocations: 3.938 kB / 0.6648 GB, free: 13.18 MB / 490.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.0005339/0.4976, allocations: 442.6 kB / 0.6652 GB, free: 12.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4977, allocations: 11.98 kB / 0.6652 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.4977, allocations: 46.55 kB / 0.6653 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.4978, allocations: 23.77 kB / 0.6653 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.498, allocations: 230.6 kB / 0.6655 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.498, allocations: 12 kB / 0.6655 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.4981, allocations: 19.89 kB / 0.6656 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.4983, allocations: 125.9 kB / 0.6657 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4983, allocations: 4 kB / 0.6657 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4983, allocations: 3.984 kB / 0.6657 GB, free: 12.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4983, allocations: 7.953 kB / 0.6657 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.368e-05/0.4984, allocations: 47.94 kB / 0.6657 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/0.4993, allocations: 0.7549 MB / 0.6665 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.4994, allocations: 38.58 kB / 0.6665 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.4995, allocations: 20.86 kB / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.4995, allocations: 0 / 0.6665 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.4997, allocations: 125.2 kB / 0.6667 GB, free: 11.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.4997, allocations: 0 / 0.6667 GB, free: 11.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002141/0.4999, allocations: 102 kB / 0.6668 GB, free: 10.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.5, allocations: 132.6 kB / 0.6669 GB, free: 10.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.5001, allocations: 181.9 kB / 0.6671 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.5001, allocations: 29.7 kB / 0.6671 GB, free: 10.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.5002, allocations: 123.9 kB / 0.6672 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.5003, allocations: 47.59 kB / 0.6672 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.5003, allocations: 2.531 kB / 0.6672 GB, free: 10.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.5004, allocations: 330.8 kB / 0.6676 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.5004, allocations: 24.38 kB / 0.6676 GB, free: 10.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.5005, allocations: 134.5 kB / 0.6677 GB, free: 9.875 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.638e-05/0.5006, allocations: 47.92 kB / 0.6678 GB, free: 9.828 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5006, allocations: 0 / 0.6678 GB, free: 9.828 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002396/0.5009, allocations: 185.4 kB / 0.6679 GB, free: 9.641 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.5009, allocations: 4 kB / 0.6679 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5009, allocations: 7.984 kB / 0.6679 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5009, allocations: 11.95 kB / 0.668 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.5011, allocations: 31.92 kB / 0.668 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.5011, allocations: 4 kB / 0.668 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.5012, allocations: 32.11 kB / 0.668 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.5013, allocations: 12.09 kB / 0.668 GB, free: 9.539 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 () * 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 7.383e-05/0.5013, allocations: 131.1 kB / 0.6682 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.5014, allocations: 15.81 kB / 0.6682 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.5014, allocations: 17.53 kB / 0.6682 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5014, allocations: 7.953 kB / 0.6682 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5014, allocations: 0 / 0.6682 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5014, allocations: 7.984 kB / 0.6682 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.502, allocations: 497.7 kB / 0.6687 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.502, allocations: 4 kB / 0.6687 GB, free: 8.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5022, allocations: 23.92 kB / 0.6687 GB, free: 8.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.5022, allocations: 3.953 kB / 0.6687 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.5022, allocations: 11.94 kB / 0.6687 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5022, allocations: 7.984 kB / 0.6687 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5022, allocations: 0 / 0.6687 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.5025, allocations: 354.2 kB / 0.6691 GB, free: 8.375 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.5026, allocations: 96.86 kB / 0.6692 GB, free: 8.262 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.5026, allocations: 4 kB / 0.6692 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.5028, allocations: 16.03 kB / 0.6692 GB, free: 8.242 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.5028, allocations: 15.97 kB / 0.6692 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.5029, allocations: 8 kB / 0.6692 GB, free: 8.219 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.631e-05/0.503, allocations: 140.4 kB / 0.6693 GB, free: 8.082 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.503, allocations: 4 kB / 0.6693 GB, free: 8.078 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.5033, allocations: 28 kB / 0.6694 GB, free: 8.051 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 () * 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.0005799/0.5038, allocations: 1.102 MB / 0.6704 GB, free: 6.906 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.504, allocations: 84.78 kB / 0.6705 GB, free: 6.824 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.504, allocations: 4 kB / 0.6705 GB, free: 6.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.5041, allocations: 36.06 kB / 0.6706 GB, free: 6.785 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.5045, allocations: 54.27 kB / 0.6706 GB, free: 6.734 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006035/0.5051, allocations: 310 kB / 0.6709 GB, free: 6.387 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.5054, allocations: 0.7286 MB / 0.6716 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.6e-05/0.5055, allocations: 26.06 kB / 0.6716 GB, free: 5.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.5055, allocations: 51.42 kB / 0.6717 GB, free: 5.559 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5055, allocations: 0 / 0.6717 GB, free: 5.559 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.5192, allocations: 3.518 MB / 0.6751 GB, free: 2.215 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.5194, allocations: 151.4 kB / 0.6753 GB, free: 1.992 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.064, allocations: 0 / 0.6753 GB, free: 1.992 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)