Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.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.001223/0.001223, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001353/0.001353, allocations: 216.6 kB / 22.24 MB, free: 5.258 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] 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.1274/0.1274, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.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.001934/0.001934, allocations: 63.89 kB / 471.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2608, allocations: 59.86 MB / 0.519 GB, free: 9.75 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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:14337:7-14337:66: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.SimpleReaction2): time 0.06539/0.3262, allocations: 25.4 MB / 0.5438 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.3402, allocations: 10.26 MB / 0.5538 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004463/0.3407, allocations: 23.81 kB / 0.5539 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.3413, allocations: 233.3 kB / 0.5541 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.3433, allocations: 1.002 MB / 0.5551 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.3462, allocations: 1.528 MB / 0.5565 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.3476, allocations: 1.259 MB / 0.5578 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007084/0.3483, allocations: 0.573 MB / 0.5583 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006629/0.3489, allocations: 0.6203 MB / 0.5589 GB, free: 416 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009747/0.3499, allocations: 0.6754 MB / 0.5596 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.3501, allocations: 108 kB / 0.5597 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.3524, allocations: 1.255 MB / 0.5609 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.3527, allocations: 262.6 kB / 0.5612 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.3532, allocations: 463.8 kB / 0.5616 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.3565, allocations: 2.593 MB / 0.5642 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3565, allocations: 0 / 0.5642 GB, free: 11.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3565, allocations: 4 kB / 0.5642 GB, free: 11.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3565, allocations: 3.938 kB / 0.5642 GB, free: 11.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002532/0.359, allocations: 1.446 MB / 0.5656 GB, free: 10.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.359, allocations: 8.031 kB / 0.5656 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.3599, allocations: 211.9 kB / 0.5658 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009441/0.3609, allocations: 0.5232 MB / 0.5663 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.361, allocations: 118 kB / 0.5664 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.3612, allocations: 92.36 kB / 0.5665 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.3629, allocations: 1.049 MB / 0.5675 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.3629, allocations: 0 / 0.5675 GB, free: 8.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.3e-05/0.363, allocations: 36 kB / 0.5676 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.3631, allocations: 20 kB / 0.5676 GB, free: 8.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.3651, allocations: 1.265 MB / 0.5688 GB, free: 6.797 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004956/0.3701, allocations: 2.709 MB / 0.5715 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.3723, allocations: 1.242 MB / 0.5727 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.3729, allocations: 391.7 kB / 0.573 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004405/0.3774, allocations: 2.081 MB / 0.5751 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3774, allocations: 39.06 kB / 0.5751 GB, free: 232 kB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 1.753e-06/0.3774, allocations: 0 / 0.5751 GB, free: 232 kB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.003099/0.3805, allocations: 1.592 MB / 0.5767 GB, free: 14.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.3805, allocations: 67.98 kB / 0.5767 GB, free: 14.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.3811, allocations: 0.4986 MB / 0.5772 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.3811, allocations: 37.7 kB / 0.5773 GB, free: 13.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.3814, allocations: 471.7 kB / 0.5777 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.3816, allocations: 234 kB / 0.5779 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3819, allocations: 174.6 kB / 0.5781 GB, free: 13.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.382, allocations: 374.8 kB / 0.5785 GB, free: 12.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.3824, allocations: 205.9 kB / 0.5786 GB, free: 12.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/0.3831, allocations: 0.5373 MB / 0.5792 GB, free: 11.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.3842, allocations: 0.8104 MB / 0.58 GB, free: 10.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3842, allocations: 4 kB / 0.58 GB, free: 10.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001366/0.3856, allocations: 0.8603 MB / 0.5808 GB, free: 10 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3856, allocations: 8.188 kB / 0.5808 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.3856, allocations: 16 kB / 0.5808 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.3856, allocations: 16 kB / 0.5808 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009791/0.3866, allocations: 271.5 kB / 0.5811 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/0.3866, allocations: 23.88 kB / 0.5811 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.387, allocations: 28 kB / 0.5812 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.3871, allocations: 51.98 kB / 0.5812 GB, free: 9.598 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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.0002879/0.3874, allocations: 245.5 kB / 0.5814 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.3875, allocations: 63.58 kB / 0.5815 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3888, allocations: 0.6793 MB / 0.5822 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3888, allocations: 11.94 kB / 0.5822 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3888, allocations: 0 / 0.5822 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.3888, allocations: 11.97 kB / 0.5822 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008187/0.3897, allocations: 0.5768 MB / 0.5827 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3897, allocations: 4 kB / 0.5828 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007897/0.3905, allocations: 175.8 kB / 0.5829 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3905, allocations: 128 / 0.5829 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.3905, allocations: 24 kB / 0.5829 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.85e-06/0.3905, allocations: 4 kB / 0.5829 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3905, allocations: 3.938 kB / 0.583 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.3919, allocations: 0.9568 MB / 0.5839 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.3922, allocations: 107.6 kB / 0.584 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.3923, allocations: 12 kB / 0.584 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.3925, allocations: 19.98 kB / 0.584 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3926, allocations: 56.5 kB / 0.5841 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/0.3927, allocations: 24 kB / 0.5841 GB, free: 6.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003416/0.393, allocations: 318.9 kB / 0.5844 GB, free: 6.234 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.393, allocations: 4 kB / 0.5844 GB, free: 6.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001083/0.3941, allocations: 482.6 kB / 0.5849 GB, free: 5.758 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.logn) * 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 (71): * Single equations (assignments): 71 * 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.0009887/0.3951, allocations: 0.6027 MB / 0.5855 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009267/0.396, allocations: 0.5695 MB / 0.586 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.396, allocations: 4 kB / 0.586 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.3964, allocations: 259.6 kB / 0.5863 GB, free: 4.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.3972, allocations: 157.9 kB / 0.5864 GB, free: 4.168 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.3995, allocations: 1.517 MB / 0.5879 GB, free: 2.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.3998, allocations: 361.4 kB / 0.5882 GB, free: 2.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004786/0.4003, allocations: 165.2 kB / 0.5884 GB, free: 2.066 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.4005, allocations: 107.4 kB / 0.5885 GB, free: 1.961 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4005, allocations: 3.938 kB / 0.5885 GB, free: 1.957 MB / 430.1 MB Notification: Performance of Templates: time 0.02399/0.4245, allocations: 15.58 MB / 0.6037 GB, free: 2.504 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.870351569261402] Failed to read output from testmodel.py, exit status != 0: 0.4326255791820586 0.446521525 0.087113384 Calling exit ...