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.001397/0.001397, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001533/0.001533, allocations: 211.5 kB / 22.99 MB, free: 4.984 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.1405/0.1405, allocations: 23.88 MB / 337.1 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.002167/0.002167, allocations: 59.91 kB / 472.4 MB, free: 7.066 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3194, allocations: 59.87 MB / 0.5198 GB, free: 9.805 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.06976/0.3892, allocations: 24 MB / 0.5432 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.4007, allocations: 8.078 MB / 0.5511 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000602/0.4013, allocations: 11.88 kB / 0.5511 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.402, allocations: 199.9 kB / 0.5513 GB, free: 7.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.4032, allocations: 366.5 kB / 0.5516 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004391/0.4076, allocations: 1.443 MB / 0.553 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.4088, allocations: 0.6589 MB / 0.5537 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.4092, allocations: 198.8 kB / 0.5539 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.4096, allocations: 328.5 kB / 0.5542 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.4101, allocations: 349.8 kB / 0.5545 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.629e-05/0.4102, allocations: 36 kB / 0.5546 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.4125, allocations: 0.8013 MB / 0.5553 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.4126, allocations: 112.1 kB / 0.5554 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.4129, allocations: 223.7 kB / 0.5557 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.416, allocations: 1.524 MB / 0.5571 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.416, allocations: 4 kB / 0.5571 GB, free: 2.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.416, allocations: 0 / 0.5571 GB, free: 2.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.416, allocations: 0 / 0.5571 GB, free: 2.77 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.001576/0.4176, allocations: 0.879 MB / 0.558 GB, free: 1.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4176, allocations: 12.03 kB / 0.558 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.4185, allocations: 163.1 kB / 0.5582 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007914/0.4193, allocations: 394.1 kB / 0.5585 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.4193, allocations: 25.02 kB / 0.5586 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.4194, allocations: 40.12 kB / 0.5586 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.4204, allocations: 0.5265 MB / 0.5591 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.4204, allocations: 4 kB / 0.5591 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.4204, allocations: 8 kB / 0.5591 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.4204, allocations: 8 kB / 0.5591 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.4218, allocations: 0.7993 MB / 0.5599 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.4247, allocations: 1.734 MB / 0.5616 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.4253, allocations: 198 kB / 0.5618 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.4255, allocations: 126 kB / 0.5619 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003015/0.4286, allocations: 1.28 MB / 0.5632 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4286, allocations: 31.12 kB / 0.5632 GB, free: 13.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.4286, allocations: 0 / 0.5632 GB, free: 13.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006901/0.4293, allocations: 293.3 kB / 0.5635 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.4293, allocations: 55.41 kB / 0.5635 GB, free: 12.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.4299, allocations: 453.8 kB / 0.564 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.43, allocations: 29.7 kB / 0.564 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.4303, allocations: 306.6 kB / 0.5643 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.4303, allocations: 67.41 kB / 0.5644 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.4305, allocations: 98.08 kB / 0.5644 GB, free: 11.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.4307, allocations: 358.7 kB / 0.5648 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.4309, allocations: 92.81 kB / 0.5649 GB, free: 11.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.4313, allocations: 369.1 kB / 0.5652 GB, free: 10.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.4319, allocations: 496.3 kB / 0.5657 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4319, allocations: 4 kB / 0.5657 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000851/0.4328, allocations: 489 kB / 0.5662 GB, free: 9.875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.4328, allocations: 8 kB / 0.5662 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.4328, allocations: 12 kB / 0.5662 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.4329, allocations: 12 kB / 0.5662 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/0.4332, allocations: 112.4 kB / 0.5663 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.4332, allocations: 15.94 kB / 0.5663 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.4335, allocations: 63.61 kB / 0.5664 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.4336, allocations: 32 kB / 0.5664 GB, free: 9.625 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.0002134/0.4338, allocations: 181.6 kB / 0.5666 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.4339, allocations: 43.72 kB / 0.5666 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007481/0.4346, allocations: 395.5 kB / 0.567 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4346, allocations: 0 / 0.567 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4346, allocations: 3.938 kB / 0.567 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4346, allocations: 0 / 0.567 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008527/0.4355, allocations: 0.631 MB / 0.5676 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4355, allocations: 4 kB / 0.5676 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.4355, allocations: 8 kB / 0.5676 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.4355, allocations: 4 kB / 0.5676 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.4356, allocations: 3.938 kB / 0.5676 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4356, allocations: 4 kB / 0.5677 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4356, allocations: 3.938 kB / 0.5677 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.4358, allocations: 189.3 kB / 0.5678 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4359, allocations: 47.7 kB / 0.5679 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.436, allocations: 7.938 kB / 0.5679 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.4361, allocations: 8.109 kB / 0.5679 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.4361, allocations: 7.938 kB / 0.5679 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.4362, allocations: 8 kB / 0.5679 GB, free: 7.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004886/0.4366, allocations: 362.8 kB / 0.5683 GB, free: 7.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4366, allocations: 0 / 0.5683 GB, free: 7.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001016/0.4377, allocations: 259 kB / 0.5685 GB, free: 7.344 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.000803/0.4385, allocations: 410.6 kB / 0.5689 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.4389, allocations: 225.7 kB / 0.5691 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4389, allocations: 0 / 0.5691 GB, free: 6.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.606e-05/0.439, allocations: 31.92 kB / 0.5691 GB, free: 6.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.4396, allocations: 100.2 kB / 0.5692 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4407, allocations: 0.6851 MB / 0.5699 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.4409, allocations: 203.8 kB / 0.5701 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.4413, allocations: 135.1 kB / 0.5702 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.4414, allocations: 59.41 kB / 0.5703 GB, free: 5.461 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4414, allocations: 0 / 0.5703 GB, free: 5.461 MB / 414.1 MB Notification: Performance of Templates: time 0.0155/0.4569, allocations: 8.895 MB / 0.579 GB, free: 12.63 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.151953467007843] Failed to read output from testmodel.py, exit status != 0: 0.46561285300413147 0.480044358 0.060880826000000006 Calling exit ...