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.001538/0.001538, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001814/0.001814, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.992 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.1367/0.1367, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.002086/0.002086, allocations: 63.89 kB / 471.7 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2784, allocations: 59.85 MB / 0.5191 GB, free: 9.863 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.03103/0.3094, allocations: 24.26 MB / 0.5427 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.3208, allocations: 9.261 MB / 0.5518 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003605/0.3212, allocations: 11.88 kB / 0.5518 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.3218, allocations: 215.8 kB / 0.552 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008039/0.3226, allocations: 371.1 kB / 0.5524 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.3257, allocations: 1.442 MB / 0.5538 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008485/0.3265, allocations: 0.6708 MB / 0.5544 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.3268, allocations: 190.9 kB / 0.5546 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.3271, allocations: 328.2 kB / 0.5549 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.3277, allocations: 354 kB / 0.5553 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.079e-05/0.3277, allocations: 36 kB / 0.5553 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.3296, allocations: 0.8264 MB / 0.5561 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3298, allocations: 128.4 kB / 0.5562 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.33, allocations: 259.4 kB / 0.5565 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.3324, allocations: 1.528 MB / 0.558 GB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3324, allocations: 4 kB / 0.558 GB, free: 1.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3324, allocations: 0 / 0.558 GB, free: 1.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3324, allocations: 0 / 0.558 GB, free: 1.387 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.001528/0.3339, allocations: 0.8789 MB / 0.5588 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.334, allocations: 16.03 kB / 0.5588 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/0.3348, allocations: 158.8 kB / 0.559 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007816/0.3356, allocations: 398.6 kB / 0.5594 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.3356, allocations: 25.03 kB / 0.5594 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.3357, allocations: 33.3 kB / 0.5594 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.3367, allocations: 0.5337 MB / 0.5599 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3368, allocations: 3.938 kB / 0.5599 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.3368, allocations: 16 kB / 0.56 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.3368, allocations: 8.703 kB / 0.56 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.3381, allocations: 0.8023 MB / 0.5608 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002689/0.3408, allocations: 1.851 MB / 0.5626 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.3412, allocations: 205.2 kB / 0.5628 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.3415, allocations: 123.3 kB / 0.5629 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002779/0.3442, allocations: 1.334 MB / 0.5642 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3443, allocations: 31.27 kB / 0.5642 GB, free: 11.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.3443, allocations: 0 / 0.5642 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006042/0.3449, allocations: 299.6 kB / 0.5645 GB, free: 11.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3449, allocations: 59.41 kB / 0.5645 GB, free: 11.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005418/0.3455, allocations: 478.7 kB / 0.565 GB, free: 10.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.3455, allocations: 33.7 kB / 0.565 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.3457, allocations: 300 kB / 0.5653 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.3458, allocations: 67.47 kB / 0.5654 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3459, allocations: 94.08 kB / 0.5655 GB, free: 10.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3461, allocations: 358.7 kB / 0.5658 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3462, allocations: 88.81 kB / 0.5659 GB, free: 9.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.3466, allocations: 369.1 kB / 0.5663 GB, free: 9.375 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.3472, allocations: 496.2 kB / 0.5667 GB, free: 8.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3472, allocations: 4 kB / 0.5667 GB, free: 8.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007892/0.348, allocations: 0.4895 MB / 0.5672 GB, free: 8.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.348, allocations: 11.12 kB / 0.5672 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3481, allocations: 12 kB / 0.5672 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.3481, allocations: 12 kB / 0.5672 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.3484, allocations: 107.8 kB / 0.5673 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.3484, allocations: 19.92 kB / 0.5674 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.3487, allocations: 64 kB / 0.5674 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.3487, allocations: 43.94 kB / 0.5675 GB, free: 7.996 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.0001914/0.3489, allocations: 181.5 kB / 0.5676 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.349, allocations: 47.67 kB / 0.5677 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.3497, allocations: 395.9 kB / 0.5681 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3497, allocations: 0 / 0.5681 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3497, allocations: 0 / 0.5681 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3497, allocations: 0 / 0.5681 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008558/0.3506, allocations: 0.6967 MB / 0.5687 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3506, allocations: 4 kB / 0.5687 GB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.3506, allocations: 15.88 kB / 0.5688 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3507, allocations: 4 kB / 0.5688 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3507, allocations: 7.922 kB / 0.5688 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3507, allocations: 4.188 kB / 0.5688 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3507, allocations: 4 kB / 0.5688 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3509, allocations: 201 kB / 0.569 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.351, allocations: 63.58 kB / 0.569 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.3511, allocations: 7.953 kB / 0.569 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3512, allocations: 0 / 0.569 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.3513, allocations: 11.98 kB / 0.5691 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.3513, allocations: 4 kB / 0.5691 GB, free: 6.211 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004796/0.3517, allocations: 406.8 kB / 0.5694 GB, free: 5.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3517, allocations: 0 / 0.5694 GB, free: 5.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007051/0.3524, allocations: 255.1 kB / 0.5697 GB, free: 5.566 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.000621/0.3531, allocations: 414 kB / 0.5701 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.3535, allocations: 220.7 kB / 0.5703 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3535, allocations: 3.938 kB / 0.5703 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.314e-05/0.3535, allocations: 37.47 kB / 0.5703 GB, free: 4.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.3541, allocations: 119.4 kB / 0.5704 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3552, allocations: 0.6891 MB / 0.5711 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.3556, allocations: 0.8113 MB / 0.5719 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.356, allocations: 136.1 kB / 0.572 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.3561, allocations: 59.41 kB / 0.5721 GB, free: 3.027 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3561, allocations: 0 / 0.5721 GB, free: 3.027 MB / 414.1 MB Notification: Performance of Templates: time 0.01532/0.3715, allocations: 8.949 MB / 0.5808 GB, free: 10.11 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.7302043091040105] Failed to read output from testmodel.py, exit status != 0: 0.3795594710391015 0.393654505 0.058219128 Calling exit ...