Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.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.001321/0.001321, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001403/0.001403, allocations: 211.3 kB / 22.99 MB, free: 4.957 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1335/0.1335, allocations: 23.88 MB / 337.1 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [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.002109/0.002109, allocations: 71.89 kB / 472.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3178, allocations: 59.85 MB / 0.5197 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003903/0.3217, allocations: 2.816 MB / 0.5225 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006052/0.3277, allocations: 5.549 MB / 0.5279 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.3281, allocations: 11.97 kB / 0.5279 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.3286, allocations: 143.4 kB / 0.5281 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006388/0.3292, allocations: 258.2 kB / 0.5283 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.3317, allocations: 0.9651 MB / 0.5293 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006971/0.3324, allocations: 0.4895 MB / 0.5297 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.3326, allocations: 139.3 kB / 0.5299 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.3329, allocations: 234.9 kB / 0.5301 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.3332, allocations: 253.6 kB / 0.5303 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/0.3333, allocations: 24.62 kB / 0.5304 GB, free: 2.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.3346, allocations: 0.5337 MB / 0.5309 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.3348, allocations: 85.3 kB / 0.531 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.335, allocations: 152.2 kB / 0.5311 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.3366, allocations: 1.043 MB / 0.5321 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3366, allocations: 0 / 0.5321 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3366, allocations: 4 kB / 0.5321 GB, free: 2.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3366, allocations: 0 / 0.5321 GB, free: 2.129 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001036/0.3377, allocations: 0.6829 MB / 0.5328 GB, free: 1.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3377, allocations: 9.453 kB / 0.5328 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005517/0.3383, allocations: 115.5 kB / 0.5329 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/0.3388, allocations: 319.4 kB / 0.5332 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3388, allocations: 13.94 kB / 0.5332 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.3389, allocations: 25.84 kB / 0.5333 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005811/0.3395, allocations: 385.4 kB / 0.5336 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3395, allocations: 0.75 kB / 0.5336 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.3395, allocations: 7.594 kB / 0.5336 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3395, allocations: 4.906 kB / 0.5336 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.3403, allocations: 0.5471 MB / 0.5342 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.3419, allocations: 1.289 MB / 0.5354 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.3422, allocations: 150.9 kB / 0.5356 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.3424, allocations: 88.12 kB / 0.5357 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002028/0.3445, allocations: 0.934 MB / 0.5366 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.3445, allocations: 40.59 kB / 0.5366 GB, free: 15.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3445, allocations: 0 / 0.5366 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004799/0.345, allocations: 211.2 kB / 0.5368 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.345, allocations: 53.94 kB / 0.5369 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.3454, allocations: 351.9 kB / 0.5372 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3454, allocations: 31.08 kB / 0.5372 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3456, allocations: 245.3 kB / 0.5375 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.3457, allocations: 43.03 kB / 0.5375 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3458, allocations: 73.64 kB / 0.5376 GB, free: 14.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3459, allocations: 344.5 kB / 0.5379 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3461, allocations: 61.69 kB / 0.538 GB, free: 14.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.3463, allocations: 249.6 kB / 0.5382 GB, free: 14.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.3467, allocations: 339.5 kB / 0.5385 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3467, allocations: 3.969 kB / 0.5385 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005664/0.3473, allocations: 357.2 kB / 0.5389 GB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3473, allocations: 7.875 kB / 0.5389 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3473, allocations: 7.219 kB / 0.5389 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.3474, allocations: 9.734 kB / 0.5389 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.3476, allocations: 78.7 kB / 0.539 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.3476, allocations: 10.27 kB / 0.539 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.3478, allocations: 33.31 kB / 0.539 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.3479, allocations: 24.2 kB / 0.539 GB, free: 13.71 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0001726/0.3481, allocations: 159.3 kB / 0.5392 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.3481, allocations: 38.36 kB / 0.5392 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/0.3487, allocations: 280.4 kB / 0.5395 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3487, allocations: 1.281 kB / 0.5395 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3487, allocations: 0 / 0.5395 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3487, allocations: 0.6562 kB / 0.5395 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007342/0.3494, allocations: 0.5521 MB / 0.54 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3494, allocations: 1.609 kB / 0.54 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.3495, allocations: 11.05 kB / 0.54 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.3495, allocations: 6.969 kB / 0.54 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3495, allocations: 5.281 kB / 0.54 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3495, allocations: 3.344 kB / 0.54 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3495, allocations: 9.25 kB / 0.5401 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.3498, allocations: 171.2 kB / 0.5402 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.3498, allocations: 37.47 kB / 0.5403 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.3499, allocations: 10.88 kB / 0.5403 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.35, allocations: 7.375 kB / 0.5403 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.35, allocations: 9.359 kB / 0.5403 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.35, allocations: 3.672 kB / 0.5403 GB, free: 12.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.3503, allocations: 280.6 kB / 0.5406 GB, free: 12.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3503, allocations: 0 / 0.5406 GB, free: 12.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006312/0.351, allocations: 176.6 kB / 0.5407 GB, free: 12.53 MB / 398.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.0005287/0.3515, allocations: 300.8 kB / 0.541 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.3518, allocations: 156.2 kB / 0.5412 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3518, allocations: 0 / 0.5412 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.3518, allocations: 33.7 kB / 0.5412 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.3523, allocations: 81.16 kB / 0.5413 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.3532, allocations: 0.55 MB / 0.5418 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.3534, allocations: 166.6 kB / 0.542 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.3537, allocations: 103.1 kB / 0.5421 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.3538, allocations: 42.7 kB / 0.5421 GB, free: 11.77 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3538, allocations: 0 / 0.5421 GB, free: 11.77 MB / 398.1 MB Notification: Performance of Templates: time 0.01186/0.3656, allocations: 6.493 MB / 0.5484 GB, free: 9.441 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.691845495006419] Failed to read output from testmodel.py, exit status != 0: 0.3743653550045565 0.38856100499999996 0.048777650000000006 Calling exit ...