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.001491/0.001491, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001974/0.001974, allocations: 212.9 kB / 22.24 MB, free: 4.855 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.801 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.1514/0.1514, allocations: 23.89 MB / 336.3 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.00208/0.00208, allocations: 71.89 kB / 471.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3369, allocations: 59.86 MB / 0.519 GB, free: 9.844 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.06905/0.4059, allocations: 24.17 MB / 0.5426 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.4174, allocations: 8.07 MB / 0.5505 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006014/0.418, allocations: 15.88 kB / 0.5505 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.4187, allocations: 200.2 kB / 0.5507 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009588/0.4196, allocations: 367.6 kB / 0.5511 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004182/0.4238, allocations: 1.437 MB / 0.5525 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009134/0.4247, allocations: 0.6671 MB / 0.5531 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.4251, allocations: 193.5 kB / 0.5533 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.4254, allocations: 326.8 kB / 0.5536 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.4259, allocations: 329.9 kB / 0.5539 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.178e-05/0.426, allocations: 36 kB / 0.554 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.4279, allocations: 0.774 MB / 0.5547 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.4281, allocations: 124.5 kB / 0.5548 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.4284, allocations: 215.8 kB / 0.555 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.4308, allocations: 1.524 MB / 0.5565 GB, free: 2.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4308, allocations: 7.875 kB / 0.5565 GB, free: 2.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4308, allocations: 0 / 0.5565 GB, free: 2.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.705e-05/0.4309, allocations: 0 / 0.5565 GB, free: 2.559 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.001879/0.4328, allocations: 0.8828 MB / 0.5574 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4328, allocations: 12.03 kB / 0.5574 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008201/0.4336, allocations: 163.3 kB / 0.5576 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.4344, allocations: 398.8 kB / 0.5579 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.4344, allocations: 25.03 kB / 0.558 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.4345, allocations: 36.12 kB / 0.558 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/0.4354, allocations: 0.5257 MB / 0.5585 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4354, allocations: 3.938 kB / 0.5585 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.4355, allocations: 16 kB / 0.5585 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.4355, allocations: 8 kB / 0.5585 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.4368, allocations: 0.795 MB / 0.5593 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.4394, allocations: 1.73 MB / 0.561 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.4398, allocations: 209.3 kB / 0.5612 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.4401, allocations: 122.6 kB / 0.5613 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002832/0.4429, allocations: 1.272 MB / 0.5626 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4429, allocations: 34.56 kB / 0.5626 GB, free: 12.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.984e-06/0.4429, allocations: 0 / 0.5626 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.000619/0.4436, allocations: 297.2 kB / 0.5629 GB, free: 12.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.4436, allocations: 55.41 kB / 0.5629 GB, free: 12.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.4442, allocations: 446.2 kB / 0.5634 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.4442, allocations: 29.7 kB / 0.5634 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.4445, allocations: 308.4 kB / 0.5637 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.4445, allocations: 63.47 kB / 0.5637 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.4447, allocations: 98.09 kB / 0.5638 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.4448, allocations: 358.7 kB / 0.5642 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.445, allocations: 88.83 kB / 0.5643 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.4454, allocations: 361.1 kB / 0.5646 GB, free: 10.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.446, allocations: 0.4964 MB / 0.5651 GB, free: 10.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.446, allocations: 4 kB / 0.5651 GB, free: 10.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007577/0.4468, allocations: 488.9 kB / 0.5656 GB, free: 9.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4468, allocations: 8 kB / 0.5656 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4468, allocations: 8 kB / 0.5656 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.4469, allocations: 16.72 kB / 0.5656 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.4472, allocations: 107.8 kB / 0.5657 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.4472, allocations: 23.92 kB / 0.5657 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.4475, allocations: 55.62 kB / 0.5658 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.4475, allocations: 32 kB / 0.5658 GB, free: 9.406 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.0002104/0.4477, allocations: 185.5 kB / 0.566 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.4478, allocations: 47.66 kB / 0.566 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.4485, allocations: 395.5 kB / 0.5664 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4485, allocations: 0 / 0.5664 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4485, allocations: 4.062 kB / 0.5664 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4485, allocations: 0 / 0.5664 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008041/0.4493, allocations: 0.6271 MB / 0.567 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4493, allocations: 3.984 kB / 0.567 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.4494, allocations: 15.92 kB / 0.567 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.4494, allocations: 4 kB / 0.567 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4494, allocations: 7.875 kB / 0.567 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4494, allocations: 4 kB / 0.5671 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4494, allocations: 0 / 0.5671 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.4497, allocations: 193.2 kB / 0.5672 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.4498, allocations: 47.7 kB / 0.5673 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.4498, allocations: 15.83 kB / 0.5673 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.45, allocations: 8 kB / 0.5673 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.45, allocations: 7.984 kB / 0.5673 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.45, allocations: 0 / 0.5673 GB, free: 7.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004025/0.4504, allocations: 362.9 kB / 0.5677 GB, free: 7.363 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4504, allocations: 0 / 0.5677 GB, free: 7.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008112/0.4512, allocations: 259 kB / 0.5679 GB, free: 7.109 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.0006785/0.4519, allocations: 402.5 kB / 0.5683 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003972/0.4523, allocations: 221.7 kB / 0.5685 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4523, allocations: 0 / 0.5685 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.4523, allocations: 35.86 kB / 0.5685 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.4528, allocations: 97.8 kB / 0.5686 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4539, allocations: 0.6774 MB / 0.5693 GB, free: 5.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.4541, allocations: 211.7 kB / 0.5695 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003374/0.4545, allocations: 131.3 kB / 0.5696 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.4546, allocations: 51.42 kB / 0.5697 GB, free: 5.242 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4546, allocations: 0 / 0.5697 GB, free: 5.242 MB / 414.1 MB Notification: Performance of Templates: time 0.01453/0.4691, allocations: 8.817 MB / 0.5783 GB, free: 12.5 MB / 430.1 MB " [Timeout remaining time 660] 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: 4.955465577542782] Failed to read output from testmodel.py, exit status != 0: 0.4776935800909996 0.49161597599999995 0.05777022599999994 Calling exit ...