Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000676/0.000676, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006863/0.0006863, allocations: 212.6 kB / 23 MB, free: 2.98 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8634/0.8634, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6969/0.6969, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008072/0.0008072, allocations: 71.16 kB / 0.7194 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4256, allocations: 102 MB / 0.8191 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001344/0.4269, allocations: 0.8401 MB / 0.8199 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.4278, allocations: 1.205 MB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.4279, allocations: 1.406 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.4279, allocations: 9.094 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.428, allocations: 20.05 kB / 0.8211 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.4284, allocations: 146.6 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.4286, allocations: 167.6 kB / 0.8214 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.4287, allocations: 33.8 kB / 0.8214 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.4288, allocations: 73.42 kB / 0.8215 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.667e-05/0.4288, allocations: 58.77 kB / 0.8215 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.4289, allocations: 15.12 kB / 0.8216 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.519e-05/0.4289, allocations: 32.28 kB / 0.8216 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.4289, allocations: 29.17 kB / 0.8216 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.429, allocations: 53.52 kB / 0.8217 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.4292, allocations: 166.5 kB / 0.8218 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4292, allocations: 0 / 0.8218 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4292, allocations: 1.094 kB / 0.8218 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4292, allocations: 0 / 0.8218 GB, free: 15.58 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005391/0.4297, allocations: 420.8 kB / 0.8222 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.4298, allocations: 9.094 kB / 0.8222 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.4298, allocations: 22.22 kB / 0.8223 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.4301, allocations: 187.6 kB / 0.8224 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4301, allocations: 6.5 kB / 0.8224 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4302, allocations: 10.5 kB / 0.8225 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.4303, allocations: 94.25 kB / 0.8225 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4303, allocations: 7.875 kB / 0.8225 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.4303, allocations: 9.734 kB / 0.8226 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4303, allocations: 3.094 kB / 0.8226 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.336e-05/0.4304, allocations: 51.88 kB / 0.8226 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.4309, allocations: 308.8 kB / 0.8229 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.4309, allocations: 35.77 kB / 0.8229 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.431, allocations: 30.12 kB / 0.823 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.431, allocations: 1.562 kB / 0.823 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.4312, allocations: 98.03 kB / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.4312, allocations: 0 / 0.8231 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002898/0.4315, allocations: 134.2 kB / 0.8232 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.4315, allocations: 61.94 kB / 0.8233 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.4316, allocations: 146.6 kB / 0.8234 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.4316, allocations: 31.88 kB / 0.8234 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.4317, allocations: 107 kB / 0.8235 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.4317, allocations: 34.62 kB / 0.8236 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.4317, allocations: 50.7 kB / 0.8236 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.4318, allocations: 322.3 kB / 0.8239 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.4319, allocations: 85.91 kB / 0.824 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.432, allocations: 159.9 kB / 0.8241 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.4322, allocations: 206.3 kB / 0.8243 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4322, allocations: 1.156 kB / 0.8243 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003082/0.4325, allocations: 278 kB / 0.8246 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.4326, allocations: 40.05 kB / 0.8246 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4326, allocations: 3.75 kB / 0.8247 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4326, allocations: 3.266 kB / 0.8247 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.4326, allocations: 27.41 kB / 0.8247 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.4327, allocations: 4.781 kB / 0.8247 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.4328, allocations: 47.67 kB / 0.8247 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4328, allocations: 10.98 kB / 0.8247 GB, free: 13.26 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.621e-05/0.4329, allocations: 133 kB / 0.8249 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.4329, allocations: 9.641 kB / 0.8249 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.4329, allocations: 14.39 kB / 0.8249 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4329, allocations: 1.281 kB / 0.8249 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4329, allocations: 0 / 0.8249 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4329, allocations: 3.938 kB / 0.8249 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.4332, allocations: 329.9 kB / 0.8252 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4332, allocations: 1.094 kB / 0.8252 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.4333, allocations: 21.27 kB / 0.8252 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4333, allocations: 1.094 kB / 0.8252 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4333, allocations: 5.891 kB / 0.8252 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4333, allocations: 5.281 kB / 0.8252 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4333, allocations: 0.6094 kB / 0.8252 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.4335, allocations: 246.7 kB / 0.8255 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.4335, allocations: 7.172 kB / 0.8255 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.4336, allocations: 5.844 kB / 0.8255 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.4336, allocations: 16.11 kB / 0.8255 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.4336, allocations: 7.172 kB / 0.8255 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.4336, allocations: 8.234 kB / 0.8255 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.796e-05/0.4337, allocations: 100.2 kB / 0.8256 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4337, allocations: 0 / 0.8256 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002006/0.4339, allocations: 37.34 kB / 0.8257 GB, free: 12.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001066/0.434, allocations: 103.2 kB / 0.8258 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.4343, allocations: 205 kB / 0.8259 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4343, allocations: 1.281 kB / 0.8259 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.746e-05/0.4343, allocations: 33.55 kB / 0.826 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.4345, allocations: 17.92 kB / 0.826 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.4349, allocations: 299.2 kB / 0.8263 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.435, allocations: 93.58 kB / 0.8264 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.435, allocations: 19.42 kB / 0.8264 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.435, allocations: 288 / 0.8264 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.002882/0.4379, allocations: 1.774 MB / 0.8281 GB, free: 11.83 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3747305711731315] Failed to read output from testmodel.py, exit status != 0: 0.44309182092547417 0.452549581 0.021603514 Calling exit ...