Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001487/0.001487, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001593/0.001593, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.519/1.519, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.186/1.186, allocations: 154.6 MB / 413.8 MB, free: 5.195 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.504e-06, allocations: 4 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/3.121e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003038/0.003069, allocations: 1.781 MB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.004199, allocations: 0.557 MB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.525e-05/0.004294, allocations: 3.938 kB / 0.6209 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.004428, allocations: 19.8 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.00451, allocations: 27.67 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.004717, allocations: 71.84 kB / 0.621 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.004957, allocations: 167.5 kB / 0.6212 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.005088, allocations: 45.67 kB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.005216, allocations: 83.73 kB / 0.6213 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.005289, allocations: 43.81 kB / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.005317, allocations: 8 kB / 0.6213 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.386e-05/0.00534, allocations: 12 kB / 0.6213 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.005399, allocations: 31.84 kB / 0.6214 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.005464, allocations: 39.91 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.005666, allocations: 135.4 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.005669, allocations: 0 / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.51e-07/0.00567, allocations: 4 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.005674, allocations: 0 / 0.6215 GB, free: 1.527 MB / 0.5294 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.0008237/0.006498, allocations: 431.1 kB / 0.622 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.006539, allocations: 8.031 kB / 0.622 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.006596, allocations: 16.84 kB / 0.622 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.006902, allocations: 177.4 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.006919, allocations: 12.31 kB / 0.6222 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.006953, allocations: 16.33 kB / 0.6222 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.007284, allocations: 158.4 kB / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.007293, allocations: 192 / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.007319, allocations: 384 / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.007335, allocations: 11.92 kB / 0.6223 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.007575, allocations: 71.88 kB / 0.6224 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.008497, allocations: 0.6454 MB / 0.623 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.008662, allocations: 50.48 kB / 0.6231 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.008773, allocations: 36.83 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.008794, allocations: 0 / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.009034, allocations: 122.5 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.009035, allocations: 0 / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0004943/0.009529, allocations: 169.6 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/0.009623, allocations: 140.4 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.009808, allocations: 187.5 kB / 0.6237 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.009836, allocations: 37.64 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.009938, allocations: 132.1 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.009976, allocations: 31.75 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.01004, allocations: 41.7 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.01019, allocations: 326.8 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.01032, allocations: 35.97 kB / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.01052, allocations: 148.7 kB / 0.6244 GB, free: 14.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.01087, allocations: 206.3 kB / 0.6246 GB, free: 14.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01087, allocations: 0 / 0.6246 GB, free: 14.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004474/0.01132, allocations: 209.1 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01133, allocations: 8 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01134, allocations: 4 kB / 0.6248 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.01136, allocations: 4.5 kB / 0.6248 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.0115, allocations: 39.92 kB / 0.6249 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.01151, allocations: 8 kB / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.01168, allocations: 27.86 kB / 0.6249 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01169, allocations: 12 kB / 0.6249 GB, free: 13.72 MB / 0.545 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 0.0001183/0.01181, allocations: 131.6 kB / 0.6251 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.01184, allocations: 19.84 kB / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.01189, allocations: 25.45 kB / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01189, allocations: 0 / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.0119, allocations: 0 / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.0119, allocations: 8 kB / 0.6251 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007664/0.01267, allocations: 453.2 kB / 0.6255 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.01267, allocations: 4 kB / 0.6255 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.01279, allocations: 20.23 kB / 0.6256 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.0128, allocations: 4.219 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.01282, allocations: 12 kB / 0.6256 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01282, allocations: 0 / 0.6256 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01282, allocations: 0 / 0.6256 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000548/0.01337, allocations: 364.2 kB / 0.6259 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.0134, allocations: 19.84 kB / 0.6259 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01342, allocations: 4 kB / 0.6259 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.01361, allocations: 16.02 kB / 0.626 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.01366, allocations: 11.98 kB / 0.626 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01367, allocations: 4 kB / 0.626 GB, free: 12.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001176/0.01379, allocations: 141.3 kB / 0.6261 GB, free: 12.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01379, allocations: 4 kB / 0.6261 GB, free: 12.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000337/0.01412, allocations: 31.95 kB / 0.6261 GB, free: 12.41 MB / 0.545 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.0001316/0.01425, allocations: 103.1 kB / 0.6262 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003255/0.01458, allocations: 108.4 kB / 0.6263 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01458, allocations: 320 / 0.6263 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.01473, allocations: 51.91 kB / 0.6264 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.01532, allocations: 62.88 kB / 0.6265 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.01598, allocations: 327.3 kB / 0.6268 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.01613, allocations: 116.3 kB / 0.6269 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.366e-05/0.01619, allocations: 17.48 kB / 0.6269 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.01624, allocations: 16.5 kB / 0.6269 GB, free: 11.57 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.01624, allocations: 3.938 kB / 0.6269 GB, free: 11.56 MB / 0.545 GB Notification: Performance of Templates: time 0.006302/0.02254, allocations: 2.11 MB / 0.629 GB, free: 9.52 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.872732330113649] Failed to read output from testmodel.py, exit status != 0: 0.03134908154606819 0.046225894000000003 0.037408856000000004 Calling exit ...