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.001687/0.001687, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.002256/0.002256, allocations: 220.3 kB / 22.25 MB, free: 5.098 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.836 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.1529/0.1529, allocations: 23.88 MB / 336.3 MB, free: 11.01 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.002139/0.002139, allocations: 63.91 kB / 471.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.468, allocations: 59.86 MB / 0.519 GB, free: 9.746 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.08449/0.5525, allocations: 24.1 MB / 0.5425 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.5649, allocations: 8.074 MB / 0.5504 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007019/0.5656, allocations: 11.88 kB / 0.5504 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007999/0.5664, allocations: 200.6 kB / 0.5506 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.5678, allocations: 358.3 kB / 0.551 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005485/0.5732, allocations: 1.443 MB / 0.5524 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.5748, allocations: 0.6623 MB / 0.553 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004533/0.5753, allocations: 197 kB / 0.5532 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.5757, allocations: 332.4 kB / 0.5535 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.5763, allocations: 348.2 kB / 0.5539 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.687e-05/0.5764, allocations: 36 kB / 0.5539 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.5794, allocations: 0.8018 MB / 0.5547 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.5795, allocations: 116 kB / 0.5548 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.5798, allocations: 231.8 kB / 0.555 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004232/0.5841, allocations: 1.52 MB / 0.5565 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5841, allocations: 0 / 0.5565 GB, free: 2.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5841, allocations: 0 / 0.5565 GB, free: 2.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.5841, allocations: 0 / 0.5565 GB, free: 2.672 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.001779/0.5859, allocations: 0.8829 MB / 0.5574 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5859, allocations: 8.031 kB / 0.5574 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008643/0.5868, allocations: 167.2 kB / 0.5575 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008289/0.5876, allocations: 390.6 kB / 0.5579 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.5876, allocations: 29.03 kB / 0.5579 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.5877, allocations: 32.12 kB / 0.558 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/0.5887, allocations: 0.5294 MB / 0.5585 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.5887, allocations: 0 / 0.5585 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.5888, allocations: 16.7 kB / 0.5585 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.5888, allocations: 8 kB / 0.5585 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.5901, allocations: 0.7908 MB / 0.5593 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.5929, allocations: 1.734 MB / 0.561 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.5934, allocations: 205.3 kB / 0.5612 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.5936, allocations: 122.8 kB / 0.5613 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003014/0.5967, allocations: 1.283 MB / 0.5625 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5967, allocations: 30.56 kB / 0.5626 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.5967, allocations: 4 kB / 0.5626 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006515/0.5973, allocations: 293.3 kB / 0.5628 GB, free: 12.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5974, allocations: 52.11 kB / 0.5629 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005602/0.598, allocations: 445.8 kB / 0.5633 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.598, allocations: 29.7 kB / 0.5634 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.5982, allocations: 306.9 kB / 0.5636 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/0.5983, allocations: 65.97 kB / 0.5637 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.5985, allocations: 106 kB / 0.5638 GB, free: 11.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5986, allocations: 354.7 kB / 0.5641 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.5988, allocations: 88.83 kB / 0.5642 GB, free: 11.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.5992, allocations: 365.1 kB / 0.5646 GB, free: 10.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.5999, allocations: 0.4886 MB / 0.5651 GB, free: 10.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.5999, allocations: 4 kB / 0.5651 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007921/0.6007, allocations: 484.9 kB / 0.5655 GB, free: 9.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.6007, allocations: 12 kB / 0.5655 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.6007, allocations: 8 kB / 0.5655 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/0.6007, allocations: 16.69 kB / 0.5656 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.6011, allocations: 115.8 kB / 0.5657 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.6011, allocations: 23.92 kB / 0.5657 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.6014, allocations: 51.62 kB / 0.5657 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.6014, allocations: 36 kB / 0.5658 GB, free: 9.543 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.0002175/0.6016, allocations: 181.5 kB / 0.5659 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.6017, allocations: 43.72 kB / 0.566 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.6025, allocations: 387.6 kB / 0.5664 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6025, allocations: 3.938 kB / 0.5664 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6025, allocations: 4 kB / 0.5664 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6025, allocations: 0 / 0.5664 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008656/0.6033, allocations: 0.6271 MB / 0.567 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6033, allocations: 4.062 kB / 0.567 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.6034, allocations: 15.94 kB / 0.567 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6034, allocations: 0 / 0.567 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.6034, allocations: 15.91 kB / 0.567 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.6034, allocations: 0 / 0.567 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6034, allocations: 7.938 kB / 0.567 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.6037, allocations: 189.3 kB / 0.5672 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.6038, allocations: 47.7 kB / 0.5672 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.6039, allocations: 3.938 kB / 0.5673 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.604, allocations: 8 kB / 0.5673 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.604, allocations: 7.938 kB / 0.5673 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.604, allocations: 4 kB / 0.5673 GB, free: 7.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004135/0.6044, allocations: 362.8 kB / 0.5676 GB, free: 7.516 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6044, allocations: 0 / 0.5676 GB, free: 7.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008818/0.6053, allocations: 263 kB / 0.5679 GB, free: 7.258 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.0007287/0.606, allocations: 398.7 kB / 0.5682 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.6065, allocations: 221.5 kB / 0.5685 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6065, allocations: 0 / 0.5685 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-05/0.6065, allocations: 31.92 kB / 0.5685 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.6071, allocations: 114 kB / 0.5686 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.6082, allocations: 0.6773 MB / 0.5693 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.6084, allocations: 211.8 kB / 0.5695 GB, free: 5.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003491/0.6088, allocations: 127.1 kB / 0.5696 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.6089, allocations: 51.41 kB / 0.5696 GB, free: 5.387 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6089, allocations: 0 / 0.5696 GB, free: 5.387 MB / 414.1 MB Notification: Performance of Templates: time 0.01546/0.6243, allocations: 8.907 MB / 0.5783 GB, free: 12.55 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.413656169082969] Failed to read output from testmodel.py, exit status != 0: 0.6330131469294429 0.649353095 0.061930489000000005 Calling exit ...