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.00151/0.00151, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5627/0.5627, allocations: 91.97 MB / 108.5 MB, free: 13.09 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.555/1.555, allocations: 223.2 MB / 354.3 MB, free: 12.2 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.0009258/0.0009259, allocations: 92.34 kB / 427.4 MB, free: 3.953 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.000352, allocations: 11.98 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1571, allocations: 72.32 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.516/0.6732, allocations: 103.5 MB / 0.67 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.6736, allocations: 71.97 kB / 0.67 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01473/0.6883, allocations: 3.541 MB / 0.6735 GB, free: 13.32 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6884, allocations: 0 / 0.6735 GB, free: 13.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.6884, allocations: 4 kB / 0.6735 GB, free: 13.32 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.0008974/0.6893, allocations: 471.1 kB / 0.6739 GB, free: 12.81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.6894, allocations: 8.906 kB / 0.674 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.97e-05/0.6895, allocations: 42.55 kB / 0.674 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.302e-05/0.6895, allocations: 23.77 kB / 0.674 GB, free: 12.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.6899, allocations: 230.5 kB / 0.6742 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6899, allocations: 8 kB / 0.6742 GB, free: 12.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.69, allocations: 12 kB / 0.6743 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.6904, allocations: 153.8 kB / 0.6744 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6905, allocations: 0 / 0.6744 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.6905, allocations: 15.92 kB / 0.6744 GB, free: 12.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.6905, allocations: 3.953 kB / 0.6744 GB, free: 12.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.6909, allocations: 79.89 kB / 0.6745 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.6923, allocations: 0.7549 MB / 0.6752 GB, free: 11.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.6925, allocations: 58.48 kB / 0.6753 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.6925, allocations: 4 kB / 0.6753 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.6929, allocations: 126.9 kB / 0.6754 GB, free: 11.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.6929, allocations: 0 / 0.6754 GB, free: 11.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007386/0.6937, allocations: 189.4 kB / 0.6756 GB, free: 10.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/0.6938, allocations: 128.5 kB / 0.6757 GB, free: 10.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.6941, allocations: 178.2 kB / 0.6759 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.6941, allocations: 29.7 kB / 0.6759 GB, free: 10.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.6942, allocations: 127.8 kB / 0.676 GB, free: 10.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.6943, allocations: 35.75 kB / 0.6761 GB, free: 10.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.6943, allocations: 8.062 kB / 0.6761 GB, free: 10.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.6945, allocations: 334.8 kB / 0.6764 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.6947, allocations: 36.36 kB / 0.6764 GB, free: 10.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.695, allocations: 150.3 kB / 0.6766 GB, free: 9.828 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.6953, allocations: 67.91 kB / 0.6766 GB, free: 9.762 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6953, allocations: 0 / 0.6766 GB, free: 9.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006117/0.6959, allocations: 221.1 kB / 0.6769 GB, free: 9.539 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6959, allocations: 8 kB / 0.6769 GB, free: 9.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.696, allocations: 4 kB / 0.6769 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.801e-05/0.696, allocations: 11.95 kB / 0.6769 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.6962, allocations: 36.22 kB / 0.6769 GB, free: 9.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.6962, allocations: 8.625 kB / 0.6769 GB, free: 9.473 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.6965, allocations: 27.92 kB / 0.6769 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.6965, allocations: 15.94 kB / 0.677 GB, free: 9.43 MB / 474.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.000172/0.6967, allocations: 133.7 kB / 0.6771 GB, free: 9.289 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.6967, allocations: 19.72 kB / 0.6771 GB, free: 9.27 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.6968, allocations: 25.39 kB / 0.6771 GB, free: 9.242 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.6968, allocations: 4 kB / 0.6771 GB, free: 9.238 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6968, allocations: 4.203 kB / 0.6771 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6969, allocations: 4.234 kB / 0.6771 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.698, allocations: 0.5211 MB / 0.6777 GB, free: 8.652 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.698, allocations: 4 kB / 0.6777 GB, free: 8.648 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.6982, allocations: 19.92 kB / 0.6777 GB, free: 8.629 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.6982, allocations: 7.953 kB / 0.6777 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.6983, allocations: 7.984 kB / 0.6777 GB, free: 8.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.6983, allocations: 4 kB / 0.6777 GB, free: 8.609 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6983, allocations: 0 / 0.6777 GB, free: 8.609 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/0.6991, allocations: 409.3 kB / 0.6781 GB, free: 8.168 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.6992, allocations: 96.86 kB / 0.6782 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.6992, allocations: 0 / 0.6782 GB, free: 8.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.6994, allocations: 24.03 kB / 0.6782 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.6995, allocations: 15.97 kB / 0.6782 GB, free: 8.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.6995, allocations: 4 kB / 0.6782 GB, free: 8.012 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.6996, allocations: 148.4 kB / 0.6784 GB, free: 7.867 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6996, allocations: 0 / 0.6784 GB, free: 7.867 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000377/0.7, allocations: 31.95 kB / 0.6784 GB, free: 7.836 MB / 474.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.0008997/0.7009, allocations: 1.148 MB / 0.6795 GB, free: 6.645 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.7012, allocations: 127.9 kB / 0.6796 GB, free: 6.52 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7012, allocations: 0 / 0.6796 GB, free: 6.52 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.7014, allocations: 56.84 kB / 0.6797 GB, free: 6.465 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.7018, allocations: 58.92 kB / 0.6797 GB, free: 6.414 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.7045, allocations: 3.502 MB / 0.6832 GB, free: 2.781 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.7048, allocations: 0.7322 MB / 0.6839 GB, free: 2.023 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.013e-05/0.7049, allocations: 22.16 kB / 0.6839 GB, free: 2.004 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.705, allocations: 47.42 kB / 0.6839 GB, free: 1.957 MB / 474.7 MB Notification: Performance of SimCode: time 3.41e-07/0.705, allocations: 4 kB / 0.6839 GB, free: 1.953 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.7202, allocations: 3.534 MB / 0.6874 GB, free: 14.55 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.7205, allocations: 180.2 kB / 0.6876 GB, free: 14.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.546, allocations: 7.125 kB / 0.6876 GB, free: 14.3 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)