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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 203.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7413/0.7413, allocations: 122.9 MB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 68.73 kB / 0.4904 GB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1941, allocations: 77.94 MB / 0.5665 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003106/0.1972, allocations: 1.856 MB / 0.5683 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.1982, allocations: 0.526 MB / 0.5688 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.671e-05/0.1983, allocations: 11.94 kB / 0.5689 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.1984, allocations: 11.86 kB / 0.5689 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.545e-05/0.1985, allocations: 19.8 kB / 0.5689 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1987, allocations: 59.94 kB / 0.5689 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1989, allocations: 163.4 kB / 0.5691 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1991, allocations: 57.62 kB / 0.5692 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.1992, allocations: 51.72 kB / 0.5692 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1993, allocations: 51.7 kB / 0.5693 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.1993, allocations: 8 kB / 0.5693 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.1993, allocations: 7.938 kB / 0.5693 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.1994, allocations: 19.92 kB / 0.5693 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.1995, allocations: 63.59 kB / 0.5694 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1996, allocations: 127.7 kB / 0.5695 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1996, allocations: 0 / 0.5695 GB, free: 13.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1996, allocations: 4 kB / 0.5695 GB, free: 13.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1996, allocations: 0 / 0.5695 GB, free: 13.68 MB / 446.1 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.0007491/0.2004, allocations: 478.6 kB / 0.5699 GB, free: 13.17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2004, allocations: 8.031 kB / 0.5699 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.2005, allocations: 24.75 kB / 0.57 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.2008, allocations: 227.9 kB / 0.5702 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2008, allocations: 12.31 kB / 0.5702 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.2008, allocations: 16.38 kB / 0.5702 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.2011, allocations: 150.4 kB / 0.5704 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2011, allocations: 0 / 0.5704 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2012, allocations: 4 kB / 0.5704 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2012, allocations: 4 kB / 0.5704 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.2014, allocations: 75.88 kB / 0.5704 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.2024, allocations: 0.7392 MB / 0.5712 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.2025, allocations: 42.55 kB / 0.5712 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.2027, allocations: 40.77 kB / 0.5712 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.2027, allocations: 4 kB / 0.5712 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.203, allocations: 126.7 kB / 0.5714 GB, free: 11.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.203, allocations: 0 / 0.5714 GB, free: 11.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004928/0.2035, allocations: 165.5 kB / 0.5715 GB, free: 11.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.2036, allocations: 136.5 kB / 0.5716 GB, free: 11.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.2039, allocations: 203.9 kB / 0.5718 GB, free: 11.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2039, allocations: 25.7 kB / 0.5719 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.2042, allocations: 132 kB / 0.572 GB, free: 10.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.2042, allocations: 39.45 kB / 0.572 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.2043, allocations: 37.7 kB / 0.5721 GB, free: 10.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2045, allocations: 326.8 kB / 0.5724 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.2046, allocations: 43.97 kB / 0.5724 GB, free: 10.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.2048, allocations: 150.4 kB / 0.5726 GB, free: 10.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.2051, allocations: 202.3 kB / 0.5728 GB, free: 9.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2051, allocations: 0 / 0.5728 GB, free: 9.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003931/0.2055, allocations: 205.2 kB / 0.573 GB, free: 9.738 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2055, allocations: 4 kB / 0.573 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2055, allocations: 4 kB / 0.573 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2056, allocations: 8 kB / 0.573 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2057, allocations: 35.92 kB / 0.573 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.2057, allocations: 8.375 kB / 0.573 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.2059, allocations: 31.81 kB / 0.573 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.2059, allocations: 12 kB / 0.5731 GB, free: 9.637 MB / 446.1 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 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.206, allocations: 129.7 kB / 0.5732 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.206, allocations: 23.72 kB / 0.5732 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.2061, allocations: 21.39 kB / 0.5732 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2061, allocations: 0 / 0.5732 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2061, allocations: 4 kB / 0.5732 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2061, allocations: 0 / 0.5732 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007343/0.2069, allocations: 0.5135 MB / 0.5737 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2069, allocations: 8.062 kB / 0.5737 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.207, allocations: 19.98 kB / 0.5738 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.207, allocations: 3.938 kB / 0.5738 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.207, allocations: 7.938 kB / 0.5738 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.207, allocations: 7.938 kB / 0.5738 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.207, allocations: 3.938 kB / 0.5738 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.2076, allocations: 360.1 kB / 0.5741 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.2077, allocations: 97.33 kB / 0.5742 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.2077, allocations: 0 / 0.5742 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.2079, allocations: 15.92 kB / 0.5742 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.208, allocations: 19.92 kB / 0.5742 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.208, allocations: 4 kB / 0.5742 GB, free: 8.305 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.2081, allocations: 139.4 kB / 0.5744 GB, free: 8.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2081, allocations: 0 / 0.5744 GB, free: 8.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.2084, allocations: 28 kB / 0.5744 GB, free: 8.141 MB / 446.1 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,sampleTrigger.y,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002666/0.2087, allocations: 119.1 kB / 0.5745 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.209, allocations: 120.5 kB / 0.5746 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.209, allocations: 0 / 0.5746 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.2093, allocations: 52.09 kB / 0.5747 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.2098, allocations: 53.36 kB / 0.5747 GB, free: 7.797 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.2105, allocations: 386.4 kB / 0.5751 GB, free: 7.383 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.2108, allocations: 0.7245 MB / 0.5758 GB, free: 6.633 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.2109, allocations: 17.67 kB / 0.5758 GB, free: 6.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.211, allocations: 15.44 kB / 0.5758 GB, free: 6.598 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.211, allocations: 0 / 0.5758 GB, free: 6.598 MB / 446.1 MB Notification: Performance of Templates: time 0.004818/0.2158, allocations: 1.827 MB / 0.5776 GB, free: 4.793 MB / 446.1 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)