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.001303/0.001303, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001415/0.001415, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.329/1.329, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.1168/0.1168, allocations: 17.38 MB / 277.2 MB, free: 15.25 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.001976/0.001976, allocations: 67.89 kB / 412.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 59.85 MB / 472.3 MB, free: 9.754 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004947/0.1093, allocations: 2.827 MB / 475.1 MB, free: 6.902 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006835/0.1162, allocations: 5.542 MB / 480.6 MB, free: 1.336 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.1163, allocations: 11.88 kB / 480.7 MB, free: 1.324 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.1168, allocations: 135 kB / 480.8 MB, free: 1.191 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005354/0.1173, allocations: 250.1 kB / 481 MB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2043/0.3216, allocations: 0.9806 MB / 482 MB, free: 43.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007896/0.3224, allocations: 492.7 kB / 482.5 MB, free: 43.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.3227, allocations: 135.8 kB / 482.6 MB, free: 43.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.3229, allocations: 239.9 kB / 482.9 MB, free: 43.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.3232, allocations: 236.2 kB / 483.1 MB, free: 43.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.3232, allocations: 25.47 kB / 483.1 MB, free: 43.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.3245, allocations: 0.5219 MB / 483.6 MB, free: 43.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.3246, allocations: 88.8 kB / 483.7 MB, free: 43.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.3247, allocations: 151.2 kB / 483.9 MB, free: 43.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3258, allocations: 1.042 MB / 484.9 MB, free: 43.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3258, allocations: 0 / 484.9 MB, free: 43.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3258, allocations: 0 / 484.9 MB, free: 43.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3258, allocations: 0 / 484.9 MB, free: 43.25 MB / 446.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.0007877/0.3266, allocations: 0.6888 MB / 485.6 MB, free: 42.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.3266, allocations: 9.781 kB / 485.6 MB, free: 42.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004708/0.3271, allocations: 110.1 kB / 485.7 MB, free: 42.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.3275, allocations: 324.8 kB / 486 MB, free: 42.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3276, allocations: 17.03 kB / 486.1 MB, free: 42.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.3276, allocations: 20.06 kB / 486.1 MB, free: 42.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.3281, allocations: 388.3 kB / 486.5 MB, free: 42.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3281, allocations: 0 / 486.5 MB, free: 42.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3281, allocations: 13.41 kB / 486.5 MB, free: 42.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3281, allocations: 6.469 kB / 486.5 MB, free: 42.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.3287, allocations: 0.5436 MB / 487 MB, free: 42.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3301, allocations: 1.277 MB / 488.3 MB, free: 41.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.3304, allocations: 156.2 kB / 488.4 MB, free: 41.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.3305, allocations: 91.34 kB / 488.5 MB, free: 41.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/0.332, allocations: 0.932 MB / 489.5 MB, free: 41.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.332, allocations: 37.41 kB / 489.5 MB, free: 41.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.332, allocations: 2.375 kB / 489.5 MB, free: 41.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003826/0.3324, allocations: 218.6 kB / 489.7 MB, free: 41.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.3324, allocations: 54.53 kB / 489.8 MB, free: 41.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.3327, allocations: 351.1 kB / 490.1 MB, free: 41.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3327, allocations: 32.86 kB / 490.2 MB, free: 41.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.3328, allocations: 236.9 kB / 490.4 MB, free: 41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.3328, allocations: 44.97 kB / 490.4 MB, free: 40.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.3329, allocations: 73.16 kB / 490.5 MB, free: 40.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.3329, allocations: 352 kB / 490.8 MB, free: 40.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.285e-05/0.333, allocations: 60.09 kB / 490.9 MB, free: 40.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.3332, allocations: 241.8 kB / 491.1 MB, free: 40.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.3334, allocations: 346.8 kB / 491.5 MB, free: 40.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3334, allocations: 0 / 491.5 MB, free: 40.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00041/0.3338, allocations: 349.3 kB / 491.8 MB, free: 40.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3339, allocations: 6.531 kB / 491.8 MB, free: 40.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3339, allocations: 6.781 kB / 491.8 MB, free: 40.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3339, allocations: 9.531 kB / 491.8 MB, free: 40.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.3341, allocations: 83.62 kB / 491.9 MB, free: 40.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3341, allocations: 9.75 kB / 491.9 MB, free: 40.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.3343, allocations: 38.5 kB / 492 MB, free: 40.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.3343, allocations: 25.81 kB / 492 MB, free: 40.1 MB / 446.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.0001095/0.3344, allocations: 159 kB / 492.1 MB, free: 39.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3345, allocations: 35.3 kB / 492.2 MB, free: 39.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.3349, allocations: 281.9 kB / 492.5 MB, free: 39.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3349, allocations: 0 / 492.5 MB, free: 39.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3349, allocations: 3.062 kB / 492.5 MB, free: 39.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3349, allocations: 4 kB / 492.5 MB, free: 39.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.3353, allocations: 0.5542 MB / 493 MB, free: 39.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3353, allocations: 0 / 493 MB, free: 39.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.297e-05/0.3354, allocations: 9.844 kB / 493 MB, free: 39.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3354, allocations: 3.375 kB / 493 MB, free: 39.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3354, allocations: 5.062 kB / 493 MB, free: 39.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3354, allocations: 3.281 kB / 493 MB, free: 39.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3354, allocations: 3.328 kB / 493 MB, free: 39.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.3355, allocations: 174.8 kB / 493.2 MB, free: 39.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.3356, allocations: 36.45 kB / 493.2 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.3356, allocations: 10.94 kB / 493.3 MB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.3357, allocations: 10.03 kB / 493.3 MB, free: 39.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.3357, allocations: 10.3 kB / 493.3 MB, free: 39.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3357, allocations: 3.125 kB / 493.3 MB, free: 39.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.3359, allocations: 282.2 kB / 493.6 MB, free: 39.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3359, allocations: 0 / 493.6 MB, free: 39.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005086/0.3364, allocations: 171.7 kB / 493.7 MB, free: 39.12 MB / 446.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.0003772/0.3368, allocations: 310.6 kB / 494 MB, free: 38.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3371, allocations: 160.3 kB / 494.2 MB, free: 38.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3371, allocations: 0 / 494.2 MB, free: 38.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.76e-05/0.3371, allocations: 32.11 kB / 494.2 MB, free: 38.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3375, allocations: 82.88 kB / 494.3 MB, free: 38.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.3382, allocations: 0.546 MB / 494.8 MB, free: 38.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3383, allocations: 172.7 kB / 495 MB, free: 38.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.3385, allocations: 87.25 kB / 495.1 MB, free: 38.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.507e-05/0.3386, allocations: 41.23 kB / 495.1 MB, free: 38.44 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3386, allocations: 0 / 495.1 MB, free: 38.44 MB / 446.1 MB Notification: Performance of Templates: time 0.008678/0.3472, allocations: 5.991 MB / 0.4894 GB, free: 37.77 MB / 446.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 ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.407754842075519] Failed to read output from testmodel.py, exit status != 0: 0.3547737570479512 0.36469634300000003 0.036347581000000004 Calling exit ...