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.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.0008952/0.0008952, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0009951/0.0009951, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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.907/0.907, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.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.7018/0.7018, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.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 1.513e-06/1.513e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.708e-05, allocations: 6.219 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002192/0.002219, allocations: 1.79 MB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.003057, allocations: 0.5415 MB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.003155, allocations: 7.938 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.003279, allocations: 35.66 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.003342, allocations: 23.75 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.003562, allocations: 71.83 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.003753, allocations: 171.4 kB / 0.6219 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.003886, allocations: 41.7 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.003989, allocations: 71.81 kB / 0.622 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.004047, allocations: 43.81 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.004074, allocations: 12 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.004088, allocations: 8 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.004118, allocations: 35.91 kB / 0.6221 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.004161, allocations: 35.84 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.004569, allocations: 135.5 kB / 0.6222 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004572, allocations: 0 / 0.6222 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.004573, allocations: 0 / 0.6222 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.004578, allocations: 0 / 0.6222 GB, free: 10.19 MB / 0.5886 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.0005538/0.005131, allocations: 431.1 kB / 0.6226 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.005168, allocations: 13.45 kB / 0.6227 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.005211, allocations: 32.73 kB / 0.6227 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.005452, allocations: 169.4 kB / 0.6228 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.005464, allocations: 8.375 kB / 0.6229 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.005489, allocations: 16.31 kB / 0.6229 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.005698, allocations: 141.7 kB / 0.623 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005706, allocations: 192 / 0.623 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.00572, allocations: 8.375 kB / 0.623 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.005726, allocations: 7.938 kB / 0.623 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.00586, allocations: 75.81 kB / 0.6231 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.006492, allocations: 0.6533 MB / 0.6237 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/0.00659, allocations: 42.56 kB / 0.6238 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.767e-05/0.006648, allocations: 36.83 kB / 0.6238 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.006666, allocations: 0 / 0.6238 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.006822, allocations: 126.7 kB / 0.6239 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.001e-06/0.006823, allocations: 0 / 0.6239 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003081/0.007131, allocations: 165.4 kB / 0.6241 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.007187, allocations: 132.5 kB / 0.6242 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.00732, allocations: 187.8 kB / 0.6244 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.007335, allocations: 29.7 kB / 0.6244 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.007405, allocations: 132 kB / 0.6245 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.007431, allocations: 39.7 kB / 0.6246 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.007476, allocations: 37.7 kB / 0.6246 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.007558, allocations: 330.8 kB / 0.6249 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.367e-05/0.007632, allocations: 39.97 kB / 0.625 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.007742, allocations: 138.5 kB / 0.6251 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.007933, allocations: 202.6 kB / 0.6253 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.007935, allocations: 4 kB / 0.6253 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002358/0.008171, allocations: 221.2 kB / 0.6255 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.008186, allocations: 8 kB / 0.6255 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.008193, allocations: 4 kB / 0.6255 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.008207, allocations: 4 kB / 0.6255 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.008279, allocations: 31.92 kB / 0.6256 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.008287, allocations: 7.984 kB / 0.6256 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.008363, allocations: 28.19 kB / 0.6256 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.008372, allocations: 12.25 kB / 0.6256 GB, free: 6.395 MB / 0.5886 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 8.423e-05/0.008456, allocations: 134.8 kB / 0.6257 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.008477, allocations: 19.84 kB / 0.6258 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.008509, allocations: 21.45 kB / 0.6258 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.008513, allocations: 8 kB / 0.6258 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.008518, allocations: 0 / 0.6258 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008522, allocations: 0 / 0.6258 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.008974, allocations: 469.1 kB / 0.6262 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008976, allocations: 0 / 0.6262 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.009035, allocations: 15.98 kB / 0.6262 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.009039, allocations: 4 kB / 0.6262 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.009049, allocations: 3.938 kB / 0.6263 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.009053, allocations: 4 kB / 0.6263 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009054, allocations: 0 / 0.6263 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.009364, allocations: 360.1 kB / 0.6266 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.009382, allocations: 19.91 kB / 0.6266 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.009402, allocations: 8.031 kB / 0.6266 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/0.009487, allocations: 11.98 kB / 0.6266 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.009532, allocations: 11.98 kB / 0.6266 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.009539, allocations: 7.938 kB / 0.6267 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.11e-05/0.00961, allocations: 129.9 kB / 0.6268 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00961, allocations: 4 kB / 0.6268 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002363/0.009846, allocations: 24 kB / 0.6268 GB, free: 5.094 MB / 0.5886 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.0001015/0.009947, allocations: 111.2 kB / 0.6269 GB, free: 4.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.01015, allocations: 115.8 kB / 0.627 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01016, allocations: 0 / 0.627 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.01024, allocations: 48.91 kB / 0.6271 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.0106, allocations: 62.59 kB / 0.6271 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.01108, allocations: 370.3 kB / 0.6275 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.315e-05/0.01116, allocations: 112.2 kB / 0.6276 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.0112, allocations: 24.5 kB / 0.6276 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.0112, allocations: 0 / 0.6276 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of Templates: time 0.003397/0.01459, allocations: 2.168 MB / 0.6297 GB, free: 2.055 MB / 0.5886 GB " [Timeout remaining time 660] 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: 5.095995798707008] Failed to read output from testmodel.py, exit status != 0: 0.020626080222427845 0.029586802000000002 0.022876497000000003 Calling exit ...