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.001414/0.001414, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.001508/0.001508, allocations: 207.9 kB / 23 MB, free: 4.965 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1378/0.1378, allocations: 23.88 MB / 337.1 MB, free: 11.06 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.002842/0.002842, allocations: 67.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3388, allocations: 59.86 MB / 0.5198 GB, free: 9.801 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.07088/0.4097, allocations: 24 MB / 0.5432 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.4212, allocations: 8.078 MB / 0.5511 GB, free: 8.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005043/0.4217, allocations: 19.81 kB / 0.5511 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006868/0.4223, allocations: 196.5 kB / 0.5513 GB, free: 7.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.4234, allocations: 366.7 kB / 0.5516 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.4275, allocations: 1.442 MB / 0.553 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.4286, allocations: 0.6628 MB / 0.5537 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.4289, allocations: 196.5 kB / 0.5539 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.4292, allocations: 327.7 kB / 0.5542 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.4297, allocations: 353 kB / 0.5545 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.4298, allocations: 36 kB / 0.5546 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.4319, allocations: 0.8015 MB / 0.5553 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.4321, allocations: 124.1 kB / 0.5555 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.4323, allocations: 208.1 kB / 0.5557 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.435, allocations: 1.531 MB / 0.5572 GB, free: 2.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.435, allocations: 0.75 kB / 0.5572 GB, free: 2.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.435, allocations: 0 / 0.5572 GB, free: 2.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.435, allocations: 0 / 0.5572 GB, free: 2.727 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.001572/0.4366, allocations: 0.8788 MB / 0.558 GB, free: 1.879 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4367, allocations: 8.031 kB / 0.558 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008621/0.4375, allocations: 163.5 kB / 0.5582 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/0.4383, allocations: 406.6 kB / 0.5586 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.4383, allocations: 24.97 kB / 0.5586 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.4384, allocations: 36.12 kB / 0.5586 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/0.4394, allocations: 0.5253 MB / 0.5591 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4394, allocations: 0 / 0.5591 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.833e-05/0.4394, allocations: 16 kB / 0.5592 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.4394, allocations: 8.562 kB / 0.5592 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.4407, allocations: 0.7904 MB / 0.5599 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.4435, allocations: 1.726 MB / 0.5616 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.444, allocations: 204.6 kB / 0.5618 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.4442, allocations: 127 kB / 0.5619 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002996/0.4472, allocations: 1.272 MB / 0.5632 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.4472, allocations: 38.5 kB / 0.5632 GB, free: 13.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.104e-06/0.4472, allocations: 0 / 0.5632 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006815/0.4479, allocations: 292.7 kB / 0.5635 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.448, allocations: 55.97 kB / 0.5636 GB, free: 12.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005818/0.4486, allocations: 445.8 kB / 0.564 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.4486, allocations: 41.64 kB / 0.564 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.4488, allocations: 309.4 kB / 0.5643 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.4489, allocations: 59.48 kB / 0.5644 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.449, allocations: 94.08 kB / 0.5645 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4492, allocations: 362.7 kB / 0.5648 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.4494, allocations: 88.83 kB / 0.5649 GB, free: 11.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.4498, allocations: 369 kB / 0.5652 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.4504, allocations: 0.4925 MB / 0.5657 GB, free: 10.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4504, allocations: 4 kB / 0.5657 GB, free: 10.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008143/0.4513, allocations: 485.6 kB / 0.5662 GB, free: 9.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4513, allocations: 8 kB / 0.5662 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4513, allocations: 8 kB / 0.5662 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.4513, allocations: 20 kB / 0.5662 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.4517, allocations: 111.8 kB / 0.5663 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.4517, allocations: 19.92 kB / 0.5663 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.452, allocations: 59.56 kB / 0.5664 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.4521, allocations: 32 kB / 0.5664 GB, free: 9.574 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.0002148/0.4523, allocations: 181.6 kB / 0.5666 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.4524, allocations: 39.72 kB / 0.5666 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.4531, allocations: 387.5 kB / 0.567 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4531, allocations: 4 kB / 0.567 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4531, allocations: 4 kB / 0.567 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.4532, allocations: 43.7 kB / 0.5671 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.4533, allocations: 3.938 kB / 0.5671 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.4534, allocations: 11.94 kB / 0.5671 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.4534, allocations: 3.984 kB / 0.5671 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002146/0.4537, allocations: 172.9 kB / 0.5672 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002792/0.4539, allocations: 302.5 kB / 0.5675 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.978e-05/0.454, allocations: 23.98 kB / 0.5676 GB, free: 8.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00044/0.4544, allocations: 366.8 kB / 0.5679 GB, free: 7.988 MB / 414.1 MB Notification: Performance of Backend: time 3.21e-07/0.4544, allocations: 3.938 kB / 0.5679 GB, free: 7.984 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.4564, allocations: 0.7325 MB / 0.5686 GB, free: 7.246 MB / 414.1 MB Notification: Performance of SimCode: time 0.001686/0.4581, allocations: 1.246 MB / 0.5698 GB, free: 5.953 MB / 414.1 MB Notification: Performance of Templates: time 0.02013/0.4782, allocations: 12.53 MB / 0.5821 GB, free: 9.488 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: 5.034470683996915] Failed to read output from testmodel.py, exit status != 0: 0.48794197499228176 0.501352185 0.063183474 Calling exit ...