Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001335/0.001335, 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.001493/0.001493, allocations: 216.1 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.137/0.137, allocations: 23.91 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002061/0.002061, allocations: 63.91 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3088, allocations: 59.89 MB / 0.5198 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003793/0.3126, allocations: 2.815 MB / 0.5226 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.3185, allocations: 5.54 MB / 0.528 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004535/0.319, allocations: 12.31 kB / 0.528 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.3195, allocations: 138.8 kB / 0.5281 GB, free: 3.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007214/0.3202, allocations: 250.9 kB / 0.5284 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.323, allocations: 0.9803 MB / 0.5293 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000781/0.3237, allocations: 494.3 kB / 0.5298 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.324, allocations: 138.6 kB / 0.5299 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002554/0.3243, allocations: 234.5 kB / 0.5302 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.3246, allocations: 255 kB / 0.5304 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.05e-05/0.3247, allocations: 24.31 kB / 0.5304 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.3263, allocations: 0.5321 MB / 0.5309 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3265, allocations: 90.34 kB / 0.531 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.3267, allocations: 152.1 kB / 0.5312 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.329, allocations: 1.034 MB / 0.5322 GB, free: 2.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.329, allocations: 0.6562 kB / 0.5322 GB, free: 2.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.329, allocations: 1.094 kB / 0.5322 GB, free: 2.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.329, allocations: 0 / 0.5322 GB, free: 2.109 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.001199/0.3302, allocations: 0.6982 MB / 0.5329 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3302, allocations: 8.75 kB / 0.5329 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006069/0.3308, allocations: 109.7 kB / 0.533 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006751/0.3315, allocations: 322.9 kB / 0.5333 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.3315, allocations: 16.59 kB / 0.5333 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.3316, allocations: 22.56 kB / 0.5333 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.3322, allocations: 381.2 kB / 0.5337 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3322, allocations: 3.938 kB / 0.5337 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.3323, allocations: 7.531 kB / 0.5337 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3323, allocations: 5.219 kB / 0.5337 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008278/0.3331, allocations: 0.5427 MB / 0.5342 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.3348, allocations: 1.287 MB / 0.5355 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.3352, allocations: 157.3 kB / 0.5356 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.3354, allocations: 87.91 kB / 0.5357 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002216/0.3376, allocations: 0.9378 MB / 0.5366 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3376, allocations: 33.42 kB / 0.5367 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.3376, allocations: 0 / 0.5367 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004989/0.3381, allocations: 222.2 kB / 0.5369 GB, free: 15.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3382, allocations: 53.53 kB / 0.5369 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.3386, allocations: 354.3 kB / 0.5373 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3386, allocations: 29.64 kB / 0.5373 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.3388, allocations: 237 kB / 0.5375 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.3388, allocations: 50.59 kB / 0.5376 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3389, allocations: 71.39 kB / 0.5376 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3391, allocations: 343 kB / 0.538 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.3392, allocations: 69.17 kB / 0.538 GB, free: 14.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.3395, allocations: 246.9 kB / 0.5383 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.3399, allocations: 339.7 kB / 0.5386 GB, free: 13.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3399, allocations: 2.75 kB / 0.5386 GB, free: 13.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005748/0.3405, allocations: 345.3 kB / 0.5389 GB, free: 13.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.3405, allocations: 8.906 kB / 0.5389 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3405, allocations: 7.094 kB / 0.5389 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.282e-05/0.3405, allocations: 12.91 kB / 0.539 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.3408, allocations: 74.58 kB / 0.539 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.3408, allocations: 18.67 kB / 0.539 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.3411, allocations: 33.22 kB / 0.5391 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.3411, allocations: 28.38 kB / 0.5391 GB, free: 13.67 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.0001763/0.3413, allocations: 158.2 kB / 0.5393 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.3414, allocations: 34.97 kB / 0.5393 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/0.3419, allocations: 277.5 kB / 0.5396 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3419, allocations: 0 / 0.5396 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3419, allocations: 1.625 kB / 0.5396 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3419, allocations: 0.75 kB / 0.5396 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.3427, allocations: 0.5515 MB / 0.5401 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3427, allocations: 1.281 kB / 0.5401 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.3428, allocations: 15.27 kB / 0.5401 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.3428, allocations: 10 kB / 0.5401 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3428, allocations: 2.062 kB / 0.5401 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3428, allocations: 2.922 kB / 0.5401 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3428, allocations: 1.188 kB / 0.5401 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.343, allocations: 176.5 kB / 0.5403 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/0.3431, allocations: 32.77 kB / 0.5403 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.3432, allocations: 11.36 kB / 0.5403 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.3433, allocations: 7.062 kB / 0.5403 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.3433, allocations: 9.266 kB / 0.5404 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3433, allocations: 2.656 kB / 0.5404 GB, free: 12.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.3436, allocations: 285.7 kB / 0.5406 GB, free: 12.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3436, allocations: 0 / 0.5406 GB, free: 12.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006798/0.3443, allocations: 177.1 kB / 0.5408 GB, free: 12.5 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.0005568/0.3449, allocations: 304 kB / 0.5411 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.3452, allocations: 156.7 kB / 0.5412 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3452, allocations: 5.5 kB / 0.5412 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.3453, allocations: 26.8 kB / 0.5413 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.3457, allocations: 80.03 kB / 0.5413 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009624/0.3467, allocations: 0.5492 MB / 0.5419 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.3469, allocations: 171.2 kB / 0.542 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000283/0.3472, allocations: 92.3 kB / 0.5421 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.3473, allocations: 38.78 kB / 0.5422 GB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3473, allocations: 4 kB / 0.5422 GB, free: 11.74 MB / 398.1 MB Notification: Performance of Templates: time 0.01208/0.3593, allocations: 6.491 MB / 0.5485 GB, free: 9.418 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.652778174000559] Failed to read output from testmodel.py, exit status != 0: 0.3683807409979636 0.38347450600000005 0.051150600000000004 Calling exit ...