Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.001418/0.001418, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001633/0.001633, allocations: 219.7 kB / 22.3 MB, free: 5.281 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.554/1.554, allocations: 230.6 MB / 256.1 MB, free: 7.797 MB / 206.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.1443/0.1443, allocations: 23.89 MB / 336.4 MB, free: 10.95 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Chemical 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.002068/0.002068, allocations: 63.89 kB / 471.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4142, allocations: 59.87 MB / 0.5191 GB, free: 9.766 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.07325/0.4874, allocations: 24.14 MB / 0.5427 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.5001, allocations: 8.076 MB / 0.5506 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007793/0.5009, allocations: 11.88 kB / 0.5506 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008651/0.5017, allocations: 192 kB / 0.5508 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.5029, allocations: 371 kB / 0.5511 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005743/0.5087, allocations: 1.438 MB / 0.5525 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.5101, allocations: 0.6627 MB / 0.5532 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004257/0.5105, allocations: 201 kB / 0.5534 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.5109, allocations: 327.5 kB / 0.5537 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005632/0.5115, allocations: 329.7 kB / 0.554 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.884e-05/0.5116, allocations: 36 kB / 0.554 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.5135, allocations: 0.7815 MB / 0.5548 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.5136, allocations: 124.6 kB / 0.5549 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002652/0.5139, allocations: 211.8 kB / 0.5551 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.5164, allocations: 1.524 MB / 0.5566 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5164, allocations: 0 / 0.5566 GB, free: 2.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5164, allocations: 0 / 0.5566 GB, free: 2.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.5164, allocations: 0 / 0.5566 GB, free: 2.648 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001582/0.518, allocations: 0.887 MB / 0.5575 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5181, allocations: 8.031 kB / 0.5575 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007879/0.5189, allocations: 174.7 kB / 0.5577 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.5195, allocations: 398.1 kB / 0.558 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.5196, allocations: 21.73 kB / 0.5581 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.5197, allocations: 36.12 kB / 0.5581 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009044/0.5206, allocations: 0.5255 MB / 0.5586 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5206, allocations: 0.5625 kB / 0.5586 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.5206, allocations: 12 kB / 0.5586 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5206, allocations: 8 kB / 0.5586 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.5219, allocations: 0.7947 MB / 0.5594 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.5245, allocations: 1.73 MB / 0.5611 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.525, allocations: 200.5 kB / 0.5613 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.5252, allocations: 127.6 kB / 0.5614 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002737/0.528, allocations: 1.279 MB / 0.5626 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.528, allocations: 38.56 kB / 0.5627 GB, free: 13.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.528, allocations: 0 / 0.5627 GB, free: 13.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006877/0.5287, allocations: 294.6 kB / 0.563 GB, free: 12.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.5287, allocations: 55.41 kB / 0.563 GB, free: 12.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.5293, allocations: 442.2 kB / 0.5634 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.5293, allocations: 29.7 kB / 0.5635 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.5296, allocations: 307.4 kB / 0.5638 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.5297, allocations: 71.47 kB / 0.5638 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.5298, allocations: 94.14 kB / 0.5639 GB, free: 11.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.53, allocations: 362.7 kB / 0.5643 GB, free: 11.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.5301, allocations: 88.94 kB / 0.5643 GB, free: 11.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.5305, allocations: 365.7 kB / 0.5647 GB, free: 10.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006366/0.5312, allocations: 0.4925 MB / 0.5652 GB, free: 10.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5312, allocations: 0 / 0.5652 GB, free: 10.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007762/0.532, allocations: 480.8 kB / 0.5656 GB, free: 9.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.532, allocations: 14.81 kB / 0.5657 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.532, allocations: 12.89 kB / 0.5657 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.532, allocations: 12 kB / 0.5657 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.5324, allocations: 119.8 kB / 0.5658 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.5324, allocations: 15.94 kB / 0.5658 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.5326, allocations: 51.62 kB / 0.5659 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.5327, allocations: 39.98 kB / 0.5659 GB, free: 9.484 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001983/0.5329, allocations: 177.5 kB / 0.5661 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.533, allocations: 43.72 kB / 0.5661 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007109/0.5337, allocations: 391.6 kB / 0.5665 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.5337, allocations: 4 kB / 0.5665 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5337, allocations: 3.938 kB / 0.5665 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5337, allocations: 7.984 kB / 0.5665 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.5345, allocations: 0.6232 MB / 0.5671 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.5345, allocations: 4 kB / 0.5671 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.5345, allocations: 11.98 kB / 0.5671 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.5346, allocations: 4 kB / 0.5671 GB, free: 8.117 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5346, allocations: 3.938 kB / 0.5671 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5346, allocations: 4 kB / 0.5671 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5346, allocations: 4.125 kB / 0.5671 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.5348, allocations: 193.1 kB / 0.5673 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.5349, allocations: 43.7 kB / 0.5674 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.535, allocations: 15.83 kB / 0.5674 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5351, allocations: 3.938 kB / 0.5674 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.5351, allocations: 11.92 kB / 0.5674 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.5351, allocations: 8 kB / 0.5674 GB, free: 7.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004242/0.5356, allocations: 358.9 kB / 0.5677 GB, free: 7.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5356, allocations: 0 / 0.5677 GB, free: 7.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008794/0.5364, allocations: 259 kB / 0.568 GB, free: 7.199 MB / 414.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.0007051/0.5371, allocations: 406.6 kB / 0.5684 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004163/0.5376, allocations: 221 kB / 0.5686 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5376, allocations: 0 / 0.5686 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.009e-05/0.5376, allocations: 35.91 kB / 0.5686 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.5382, allocations: 117.1 kB / 0.5687 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.5392, allocations: 0.6694 MB / 0.5694 GB, free: 5.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.5395, allocations: 211.8 kB / 0.5696 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.5398, allocations: 127.1 kB / 0.5697 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5399, allocations: 60.47 kB / 0.5698 GB, free: 5.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5399, allocations: 0 / 0.5698 GB, free: 5.32 MB / 414.1 MB Notification: Performance of Templates: time 0.01476/0.5547, allocations: 8.212 MB / 0.5778 GB, free: 13.18 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.459869608283043] Failed to read output from testmodel.py, exit status != 0: 0.5636517554521561 0.578115118 0.05857728 Calling exit ...