Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 112.3 kB / 18.7 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005387/0.005387, allocations: 179.1 kB / 21.94 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 250.7 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.062/1.062, allocations: 175.7 MB / 481.6 MB, free: 7.852 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 73.44 kB / 0.67 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5347, allocations: 94.51 MB / 0.7623 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002895/0.5376, allocations: 1.844 MB / 0.7641 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000904/0.5385, allocations: 0.5432 MB / 0.7646 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.5386, allocations: 2.719 kB / 0.7646 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.5387, allocations: 31.14 kB / 0.7647 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.5388, allocations: 29.75 kB / 0.7647 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.539, allocations: 63.62 kB / 0.7648 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.5393, allocations: 171.2 kB / 0.7649 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.5394, allocations: 42.41 kB / 0.765 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.5395, allocations: 54.55 kB / 0.765 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.5395, allocations: 70.16 kB / 0.7651 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.5396, allocations: 10.22 kB / 0.7651 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.5396, allocations: 12.06 kB / 0.7651 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.5396, allocations: 29.88 kB / 0.7651 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.5397, allocations: 63.72 kB / 0.7652 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.5399, allocations: 133.6 kB / 0.7653 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5399, allocations: 1.328 kB / 0.7653 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5399, allocations: 0 / 0.7653 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5399, allocations: 1.812 kB / 0.7653 GB, free: 8.547 MB / 0.5762 GB 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.000705/0.5406, allocations: 0.4964 MB / 0.7658 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5406, allocations: 9.812 kB / 0.7658 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.5407, allocations: 19.62 kB / 0.7658 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.5409, allocations: 233.5 kB / 0.7661 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.541, allocations: 11.94 kB / 0.7661 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.541, allocations: 11.84 kB / 0.7661 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.5413, allocations: 163.1 kB / 0.7662 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5413, allocations: 1.125 kB / 0.7662 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5413, allocations: 6.172 kB / 0.7662 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5413, allocations: 2.281 kB / 0.7662 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.5415, allocations: 77.05 kB / 0.7663 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.5423, allocations: 0.7394 MB / 0.767 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.5424, allocations: 46.27 kB / 0.7671 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.5425, allocations: 34.77 kB / 0.7671 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.5426, allocations: 2.078 kB / 0.7671 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.5428, allocations: 122.4 kB / 0.7672 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.5428, allocations: 0 / 0.7672 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0004664/0.5432, allocations: 167 kB / 0.7674 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.5433, allocations: 135.7 kB / 0.7675 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.5434, allocations: 199.6 kB / 0.7677 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.5435, allocations: 32.5 kB / 0.7677 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.5435, allocations: 130.3 kB / 0.7679 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.5435, allocations: 34.73 kB / 0.7679 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.5436, allocations: 39.72 kB / 0.7679 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.5437, allocations: 329.8 kB / 0.7683 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.5438, allocations: 40.75 kB / 0.7683 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.5439, allocations: 148.3 kB / 0.7684 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.5442, allocations: 201 kB / 0.7686 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5442, allocations: 1.219 kB / 0.7686 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003618/0.5446, allocations: 212.6 kB / 0.7688 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5446, allocations: 6.844 kB / 0.7688 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5446, allocations: 5.344 kB / 0.7688 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5446, allocations: 4.625 kB / 0.7689 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.5447, allocations: 41.97 kB / 0.7689 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.5447, allocations: 5.734 kB / 0.7689 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.5449, allocations: 29.02 kB / 0.7689 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.5449, allocations: 11.69 kB / 0.7689 GB, free: 5.527 MB / 0.5762 GB 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 7.681e-05/0.545, allocations: 141.2 kB / 0.7691 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.545, allocations: 17.16 kB / 0.7691 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.545, allocations: 20.92 kB / 0.7691 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.545, allocations: 3.969 kB / 0.7691 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5451, allocations: 1.219 kB / 0.7691 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.5451, allocations: 2.172 kB / 0.7691 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.5457, allocations: 0.5132 MB / 0.7696 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5457, allocations: 2.25 kB / 0.7696 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.5458, allocations: 19.11 kB / 0.7696 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5458, allocations: 2.953 kB / 0.7696 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.5458, allocations: 7.094 kB / 0.7696 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5458, allocations: 1.156 kB / 0.7696 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5458, allocations: 5.281 kB / 0.7697 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.5462, allocations: 362.3 kB / 0.77 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.5463, allocations: 96.84 kB / 0.7701 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.5463, allocations: 10.81 kB / 0.7701 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5465, allocations: 11.27 kB / 0.7701 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.5465, allocations: 20.59 kB / 0.7701 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.5465, allocations: 3.781 kB / 0.7701 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.794e-05/0.5466, allocations: 143.2 kB / 0.7703 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5466, allocations: 0 / 0.7703 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003314/0.5469, allocations: 27.34 kB / 0.7703 GB, free: 4.434 MB / 0.5762 GB 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.0001006/0.547, allocations: 115.1 kB / 0.7704 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.5473, allocations: 110.9 kB / 0.7705 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5473, allocations: 2.219 kB / 0.7705 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.5475, allocations: 52.64 kB / 0.7706 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.548, allocations: 75.98 kB / 0.7706 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.5486, allocations: 393.2 kB / 0.771 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.5488, allocations: 0.7232 MB / 0.7717 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.5488, allocations: 21.92 kB / 0.7717 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.5488, allocations: 0 / 0.7717 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of Templates: time 0.00436/0.5532, allocations: 2.148 MB / 0.7738 GB, free: 3.066 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.613583886995912] Failed to read output from testmodel.py, exit status != 0: 0.5611771440599114 0.575920953 0.031341377000000004 Calling exit ...