Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.001786/0.001786, allocations: 78.72 kB / 19.18 MB, free: 2.527 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.002175/0.002175, allocations: 167.3 kB / 22.46 MB, free: 5.363 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.14/0.14, allocations: 17.37 MB / 276.5 MB, free: 15.3 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 412 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.043e-05, allocations: 5.656 kB / 412 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004103/0.004133, allocations: 2.815 MB / 414.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007279/0.01141, allocations: 5.541 MB / 420.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.01173, allocations: 7.938 kB / 420.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005602/0.01229, allocations: 142.8 kB / 420.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008531/0.01314, allocations: 265.9 kB / 420.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.0157, allocations: 1.001 MB / 421.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008482/0.01655, allocations: 0.4946 MB / 422.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.01689, allocations: 144.7 kB / 422.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.01731, allocations: 295.5 kB / 422.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.01774, allocations: 211.5 kB / 422.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.01783, allocations: 32 kB / 422.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.01905, allocations: 0.5339 MB / 423.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.01918, allocations: 79.69 kB / 423.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.01938, allocations: 123.7 kB / 423.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.02137, allocations: 1.097 MB / 424.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.02137, allocations: 0 / 424.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.02137, allocations: 3.938 kB / 424.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.02139, allocations: 0 / 424.7 MB, free: 7.621 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001341/0.02273, allocations: 0.6949 MB / 425.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.02277, allocations: 12.03 kB / 425.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.02338, allocations: 112.6 kB / 425.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.02406, allocations: 309.5 kB / 425.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.02408, allocations: 20.88 kB / 425.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.02414, allocations: 24.38 kB / 425.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.0248, allocations: 387.2 kB / 426.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.02482, allocations: 7.922 kB / 426.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.02486, allocations: 8 kB / 426.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.02487, allocations: 8 kB / 426.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009165/0.02579, allocations: 0.5356 MB / 426.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.02784, allocations: 1.282 MB / 428.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.02822, allocations: 158.4 kB / 428.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.0284, allocations: 93.27 kB / 428.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002063/0.03046, allocations: 0.9403 MB / 429.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.0305, allocations: 34.56 kB / 429.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.0305, allocations: 4 kB / 429.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000537/0.03104, allocations: 221.3 kB / 429.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.03108, allocations: 55.41 kB / 429.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.03148, allocations: 345.6 kB / 429.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.0315, allocations: 29.7 kB / 430 MB, free: 2.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.03169, allocations: 235.9 kB / 430.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.03174, allocations: 51.58 kB / 430.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.03184, allocations: 69.52 kB / 430.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.03201, allocations: 350.7 kB / 430.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.03214, allocations: 59.97 kB / 430.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.03243, allocations: 244.8 kB / 430.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.03291, allocations: 344.5 kB / 431.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.03292, allocations: 4 kB / 431.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000606/0.03352, allocations: 340.9 kB / 431.6 MB, free: 308 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.03354, allocations: 11.94 kB / 431.6 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.03356, allocations: 4 kB / 431.6 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.03358, allocations: 12.77 kB / 431.7 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.03383, allocations: 75.91 kB / 431.7 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.03384, allocations: 15.94 kB / 431.7 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.03404, allocations: 39.73 kB / 431.8 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.03408, allocations: 20 kB / 431.8 MB, free: 128 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001924/0.03427, allocations: 161.6 kB / 432 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.03434, allocations: 35.75 kB / 432 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/0.03491, allocations: 279.2 kB / 432.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.03492, allocations: 4 kB / 432.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.03492, allocations: 0 / 432.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.03493, allocations: 3.984 kB / 432.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006727/0.0356, allocations: 0.5491 MB / 432.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.03561, allocations: 11.98 kB / 432.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.03568, allocations: 11.98 kB / 432.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.03568, allocations: 0 / 432.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.03569, allocations: 4 kB / 432.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.03569, allocations: 8.188 kB / 432.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.0357, allocations: 3.938 kB / 432.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.03593, allocations: 169.1 kB / 433 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.141e-05/0.036, allocations: 35.8 kB / 433.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.03605, allocations: 0 / 433.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.03614, allocations: 4 kB / 433.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.03617, allocations: 15.92 kB / 433.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.03618, allocations: 4 kB / 433.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003211/0.0365, allocations: 275.2 kB / 433.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0365, allocations: 0 / 433.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.03713, allocations: 183.3 kB / 433.5 MB, free: 14.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0007008/0.03783, allocations: 314.9 kB / 433.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003368/0.03817, allocations: 149.1 kB / 434 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.03817, allocations: 8.25 kB / 434 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.03822, allocations: 31.92 kB / 434 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.03873, allocations: 80.56 kB / 434.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009559/0.03969, allocations: 0.5155 MB / 434.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.03987, allocations: 164.8 kB / 434.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002801/0.04015, allocations: 93.91 kB / 434.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.04025, allocations: 44.48 kB / 434.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.04025, allocations: 0 / 434.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01185/0.05209, allocations: 5.985 MB / 440.9 MB, free: 6.91 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.862121656537056] Failed to read output from testmodel.py, exit status != 0: 0.06104700267314911 0.272693476 0.248264966 Calling exit ...