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.001082/0.001082, allocations: 110.4 kB / 17.03 MB, free: 6.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7004/0.7004, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3317, allocations: 76.13 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002717/0.3344, allocations: 1.811 MB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.3353, allocations: 0.5334 MB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.3354, allocations: 3.406 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.3355, allocations: 27.48 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.646e-05/0.3356, allocations: 29.34 kB / 0.5599 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.3358, allocations: 69.09 kB / 0.56 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.3361, allocations: 165.4 kB / 0.5601 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.3362, allocations: 58.12 kB / 0.5602 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.3363, allocations: 53.8 kB / 0.5602 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3364, allocations: 57.09 kB / 0.5603 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.3365, allocations: 14.88 kB / 0.5603 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.458e-05/0.3365, allocations: 11.28 kB / 0.5603 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.3365, allocations: 28.62 kB / 0.5603 GB, free: 34.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.3366, allocations: 66.08 kB / 0.5604 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.3368, allocations: 133 kB / 0.5605 GB, free: 34.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3368, allocations: 4.469 kB / 0.5605 GB, free: 34.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3368, allocations: 1.938 kB / 0.5605 GB, free: 34.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.3368, allocations: 0 / 0.5605 GB, free: 34.72 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.0006334/0.3375, allocations: 476.5 kB / 0.561 GB, free: 34.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3375, allocations: 10.03 kB / 0.561 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.3376, allocations: 18.38 kB / 0.561 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3379, allocations: 236.5 kB / 0.5612 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3379, allocations: 10.81 kB / 0.5613 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.3379, allocations: 14.02 kB / 0.5613 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3382, allocations: 153.4 kB / 0.5614 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3382, allocations: 1.688 kB / 0.5614 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3382, allocations: 6.5 kB / 0.5614 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3382, allocations: 3.375 kB / 0.5614 GB, free: 33.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.3386, allocations: 72.05 kB / 0.5615 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007592/0.3393, allocations: 0.7346 MB / 0.5622 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3395, allocations: 54.95 kB / 0.5623 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/0.3396, allocations: 30 kB / 0.5623 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3396, allocations: 7.5 kB / 0.5623 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.3398, allocations: 126.4 kB / 0.5624 GB, free: 33.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.3398, allocations: 0 / 0.5624 GB, free: 33.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004796/0.3403, allocations: 167.3 kB / 0.5626 GB, free: 33.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3404, allocations: 132.3 kB / 0.5627 GB, free: 32.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3406, allocations: 200.3 kB / 0.5629 GB, free: 32.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.3406, allocations: 35.7 kB / 0.5629 GB, free: 32.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.3407, allocations: 134 kB / 0.5631 GB, free: 32.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3407, allocations: 28.83 kB / 0.5631 GB, free: 32.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.3408, allocations: 43.58 kB / 0.5631 GB, free: 32.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.3408, allocations: 327.2 kB / 0.5634 GB, free: 32.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.341, allocations: 40.92 kB / 0.5635 GB, free: 32.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.3411, allocations: 151.5 kB / 0.5636 GB, free: 32.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.3414, allocations: 208.7 kB / 0.5638 GB, free: 31.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3414, allocations: 2.219 kB / 0.5638 GB, free: 31.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003931/0.3418, allocations: 208.6 kB / 0.564 GB, free: 31.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3419, allocations: 11.06 kB / 0.564 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3419, allocations: 4.375 kB / 0.564 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3419, allocations: 5.875 kB / 0.564 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.342, allocations: 32.86 kB / 0.5641 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3421, allocations: 7.375 kB / 0.5641 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3422, allocations: 29.38 kB / 0.5641 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.3422, allocations: 8.688 kB / 0.5641 GB, free: 31.77 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 9.418e-05/0.3423, allocations: 141.9 kB / 0.5642 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3424, allocations: 16.95 kB / 0.5643 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.3424, allocations: 22.52 kB / 0.5643 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3424, allocations: 1.953 kB / 0.5643 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3424, allocations: 1.875 kB / 0.5643 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3424, allocations: 2.656 kB / 0.5643 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.3431, allocations: 0.5125 MB / 0.5648 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3431, allocations: 0.6094 kB / 0.5648 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3432, allocations: 20.83 kB / 0.5648 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3433, allocations: 2.531 kB / 0.5648 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3433, allocations: 1.984 kB / 0.5648 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.3433, allocations: 11.5 kB / 0.5648 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3433, allocations: 1.906 kB / 0.5648 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.3437, allocations: 360.7 kB / 0.5652 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.3438, allocations: 96.38 kB / 0.5653 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.3438, allocations: 3.172 kB / 0.5653 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.344, allocations: 19.03 kB / 0.5653 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.344, allocations: 11.2 kB / 0.5653 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.3441, allocations: 5.406 kB / 0.5653 GB, free: 30.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.527e-05/0.3442, allocations: 149.4 kB / 0.5654 GB, free: 30.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3442, allocations: 0.9375 kB / 0.5654 GB, free: 30.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.3445, allocations: 33.03 kB / 0.5655 GB, free: 30.68 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 9.009e-05/0.3446, allocations: 105.4 kB / 0.5656 GB, free: 30.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.3449, allocations: 117.3 kB / 0.5657 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.345, allocations: 0 / 0.5657 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3451, allocations: 50.55 kB / 0.5657 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.3457, allocations: 66.3 kB / 0.5658 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.3462, allocations: 342.6 kB / 0.5661 GB, free: 30.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.3464, allocations: 0.7231 MB / 0.5668 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.651e-05/0.3465, allocations: 17.84 kB / 0.5669 GB, free: 29.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.3465, allocations: 18.12 kB / 0.5669 GB, free: 29.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3465, allocations: 1.031 kB / 0.5669 GB, free: 29.58 MB / 446.1 MB Notification: Performance of Templates: time 0.004915/0.3514, allocations: 2.022 MB / 0.5688 GB, free: 29.45 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)