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.001354/0.001354, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001545/0.001545, allocations: 220.4 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] 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 1.32/1.32, allocations: 203.8 MB / 0.5041 GB, free: 4.91 MB / 414.1 MB " [Timeout remaining time 178] 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.002112/0.002112, allocations: 63.89 kB / 0.7188 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.6745, allocations: 102 MB / 0.8184 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002092/0.6766, allocations: 0.8849 MB / 0.8192 GB, free: 28.63 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.6781, allocations: 1.217 MB / 0.8204 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.6781, allocations: 1.375 kB / 0.8204 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.6782, allocations: 9.328 kB / 0.8204 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.471e-05/0.6783, allocations: 16.55 kB / 0.8204 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.6788, allocations: 161.7 kB / 0.8206 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.679, allocations: 163.5 kB / 0.8208 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.6791, allocations: 34.98 kB / 0.8208 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.6793, allocations: 64.7 kB / 0.8209 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.6794, allocations: 71.3 kB / 0.8209 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.6795, allocations: 14.62 kB / 0.8209 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-05/0.6795, allocations: 34.05 kB / 0.821 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.6796, allocations: 25.59 kB / 0.821 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.6797, allocations: 70.58 kB / 0.8211 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.6799, allocations: 168.4 kB / 0.8212 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6799, allocations: 1.062 kB / 0.8212 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6799, allocations: 1.031 kB / 0.8212 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.6799, allocations: 0 / 0.8212 GB, free: 27.37 MB / 0.6387 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.0006756/0.6806, allocations: 418 kB / 0.8216 GB, free: 27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.6806, allocations: 11.39 kB / 0.8216 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.6807, allocations: 17.97 kB / 0.8217 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.6812, allocations: 192.2 kB / 0.8218 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.6812, allocations: 9.891 kB / 0.8218 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.6813, allocations: 18.84 kB / 0.8219 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.6815, allocations: 93.16 kB / 0.8219 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6815, allocations: 3.938 kB / 0.822 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.6816, allocations: 1.859 kB / 0.822 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.6816, allocations: 1.719 kB / 0.822 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.6818, allocations: 48.14 kB / 0.822 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.6825, allocations: 362.8 kB / 0.8223 GB, free: 26.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.6826, allocations: 37.83 kB / 0.8224 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-05/0.6827, allocations: 22.77 kB / 0.8224 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.6827, allocations: 4.688 kB / 0.8224 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.683, allocations: 103.6 kB / 0.8225 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.683, allocations: 0 / 0.8225 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0004229/0.6834, allocations: 136.1 kB / 0.8226 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.6835, allocations: 61.22 kB / 0.8227 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.6836, allocations: 145.2 kB / 0.8228 GB, free: 26.13 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.6836, allocations: 32.8 kB / 0.8229 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.6837, allocations: 107.2 kB / 0.823 GB, free: 26 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.6837, allocations: 29.77 kB / 0.823 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.6838, allocations: 47.25 kB / 0.823 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.6838, allocations: 322.9 kB / 0.8234 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.684, allocations: 47.3 kB / 0.8234 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.6841, allocations: 139 kB / 0.8235 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.6844, allocations: 203.6 kB / 0.8237 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6844, allocations: 0 / 0.8237 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004728/0.6849, allocations: 250.6 kB / 0.824 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.6849, allocations: 34.48 kB / 0.824 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6849, allocations: 4.906 kB / 0.824 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.685, allocations: 3.75 kB / 0.824 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6851, allocations: 30.98 kB / 0.824 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.6851, allocations: 9.031 kB / 0.824 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.6853, allocations: 43.25 kB / 0.8241 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.6854, allocations: 15.22 kB / 0.8241 GB, free: 25.14 MB / 0.6387 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 0.000113/0.6855, allocations: 124.5 kB / 0.8242 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.6855, allocations: 9.922 kB / 0.8242 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.6856, allocations: 21.38 kB / 0.8242 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6856, allocations: 1.562 kB / 0.8242 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.6856, allocations: 3.938 kB / 0.8243 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6856, allocations: 0.75 kB / 0.8243 GB, free: 25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.6862, allocations: 369.1 kB / 0.8246 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6862, allocations: 4 kB / 0.8246 GB, free: 24.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.6863, allocations: 16.81 kB / 0.8246 GB, free: 24.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.6863, allocations: 5.594 kB / 0.8246 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.6863, allocations: 1.859 kB / 0.8246 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.6863, allocations: 0 / 0.8246 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6863, allocations: 1.891 kB / 0.8246 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.6867, allocations: 245.1 kB / 0.8249 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.6867, allocations: 15.95 kB / 0.8249 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.6868, allocations: 1.609 kB / 0.8249 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.509e-05/0.6869, allocations: 11 kB / 0.8249 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.6869, allocations: 7.078 kB / 0.8249 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.6869, allocations: 8.031 kB / 0.8249 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.063e-05/0.687, allocations: 106.8 kB / 0.825 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.687, allocations: 0 / 0.825 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003329/0.6874, allocations: 33.59 kB / 0.825 GB, free: 24.41 MB / 0.6387 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.0001848/0.6875, allocations: 103.3 kB / 0.8251 GB, free: 24.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.688, allocations: 172.4 kB / 0.8253 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.688, allocations: 0 / 0.8253 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.6881, allocations: 32.89 kB / 0.8253 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.6884, allocations: 23.09 kB / 0.8254 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.689, allocations: 270.1 kB / 0.8256 GB, free: 24.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.6891, allocations: 0.7092 MB / 0.8263 GB, free: 23.31 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.102e-05/0.6892, allocations: 14.97 kB / 0.8263 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.6892, allocations: 16.05 kB / 0.8263 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.6892, allocations: 0 / 0.8263 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.005751/0.695, allocations: 1.702 MB / 0.828 GB, free: 23.13 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.934550400823355] Failed to read output from testmodel.py, exit status != 0: 0.7037109807133675 0.7162064579999999 0.033467443 Calling exit ...