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.001963/0.001963, 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.002372/0.002372, allocations: 217.8 kB / 22.25 MB, free: 5.121 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 8 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.1555/0.1555, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.002123/0.002123, allocations: 71.89 kB / 471.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2961, allocations: 59.87 MB / 0.5191 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003487/0.2996, allocations: 3.043 MB / 0.5221 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00615/0.3058, allocations: 6.347 MB / 0.5283 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.3062, allocations: 8.125 kB / 0.5283 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005848/0.3068, allocations: 153.9 kB / 0.5285 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007785/0.3076, allocations: 259.7 kB / 0.5287 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.311, allocations: 0.9725 MB / 0.5297 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007186/0.3117, allocations: 498.6 kB / 0.5301 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.3119, allocations: 134.4 kB / 0.5303 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.3122, allocations: 230.2 kB / 0.5305 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.3125, allocations: 254 kB / 0.5307 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.3126, allocations: 24.53 kB / 0.5307 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.314, allocations: 0.5591 MB / 0.5313 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3141, allocations: 82.34 kB / 0.5314 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.3143, allocations: 184.1 kB / 0.5315 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.316, allocations: 1.043 MB / 0.5326 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.316, allocations: 1.125 kB / 0.5326 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.316, allocations: 0 / 0.5326 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.316, allocations: 0 / 0.5326 GB, free: 1.02 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.0009291/0.3169, allocations: 0.6929 MB / 0.5332 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3169, allocations: 9.469 kB / 0.5332 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/0.3175, allocations: 108.4 kB / 0.5333 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.318, allocations: 327.3 kB / 0.5337 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.318, allocations: 13.66 kB / 0.5337 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.3181, allocations: 25.59 kB / 0.5337 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.3186, allocations: 383.8 kB / 0.5341 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3186, allocations: 1.25 kB / 0.5341 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.3187, allocations: 9.438 kB / 0.5341 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3187, allocations: 5.969 kB / 0.5341 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.3195, allocations: 0.55 MB / 0.5346 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.3215, allocations: 1.385 MB / 0.536 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.3218, allocations: 150 kB / 0.5361 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.322, allocations: 88.06 kB / 0.5362 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/0.3239, allocations: 0.9751 MB / 0.5371 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.324, allocations: 33.53 kB / 0.5372 GB, free: 14.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.324, allocations: 0 / 0.5372 GB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004759/0.3244, allocations: 223.9 kB / 0.5374 GB, free: 14.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3245, allocations: 53.81 kB / 0.5374 GB, free: 14.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.3249, allocations: 380.2 kB / 0.5378 GB, free: 13.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.3249, allocations: 34.95 kB / 0.5378 GB, free: 13.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3251, allocations: 226.2 kB / 0.5381 GB, free: 13.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.3252, allocations: 56.67 kB / 0.5381 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3253, allocations: 71.03 kB / 0.5382 GB, free: 13.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3254, allocations: 343.2 kB / 0.5385 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3255, allocations: 60.28 kB / 0.5386 GB, free: 13.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3258, allocations: 249.1 kB / 0.5388 GB, free: 13.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.3262, allocations: 335.1 kB / 0.5391 GB, free: 12.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3262, allocations: 5.969 kB / 0.5391 GB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005572/0.3268, allocations: 352.6 kB / 0.5395 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3268, allocations: 8.25 kB / 0.5395 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3268, allocations: 5.5 kB / 0.5395 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3268, allocations: 10.28 kB / 0.5395 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3271, allocations: 78.8 kB / 0.5396 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3271, allocations: 9.781 kB / 0.5396 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.3273, allocations: 46.39 kB / 0.5396 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.3273, allocations: 23.92 kB / 0.5396 GB, free: 12.49 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.0001756/0.3275, allocations: 162.8 kB / 0.5398 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.3276, allocations: 36.2 kB / 0.5398 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005444/0.3281, allocations: 273.8 kB / 0.5401 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.3281, allocations: 1.656 kB / 0.5401 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3281, allocations: 0 / 0.5401 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3281, allocations: 5.5 kB / 0.5401 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.3289, allocations: 0.6156 MB / 0.5407 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3289, allocations: 1 kB / 0.5407 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.329, allocations: 11.58 kB / 0.5407 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.329, allocations: 1.562 kB / 0.5407 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.329, allocations: 10.69 kB / 0.5407 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.329, allocations: 1.578 kB / 0.5407 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.329, allocations: 7.344 kB / 0.5407 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3292, allocations: 177.9 kB / 0.5409 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.791e-05/0.3293, allocations: 40.17 kB / 0.5409 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.3293, allocations: 3.562 kB / 0.5409 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3295, allocations: 2.078 kB / 0.5409 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.3295, allocations: 13.03 kB / 0.541 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3295, allocations: 4.188 kB / 0.541 GB, free: 11.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003712/0.3299, allocations: 313.8 kB / 0.5413 GB, free: 11.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3299, allocations: 0 / 0.5413 GB, free: 11.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005874/0.3304, allocations: 176.5 kB / 0.5414 GB, free: 11.26 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.0005315/0.331, allocations: 310.9 kB / 0.5417 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.3313, allocations: 161.5 kB / 0.5419 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3313, allocations: 4.125 kB / 0.5419 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.162e-05/0.3313, allocations: 32.12 kB / 0.5419 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.3319, allocations: 86.27 kB / 0.542 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009016/0.3328, allocations: 0.5541 MB / 0.5425 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.3332, allocations: 0.7795 MB / 0.5433 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000274/0.3334, allocations: 98.72 kB / 0.5434 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.3335, allocations: 41.56 kB / 0.5434 GB, free: 9.863 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3335, allocations: 0 / 0.5434 GB, free: 9.863 MB / 398.1 MB Notification: Performance of Templates: time 0.01217/0.3457, allocations: 6.474 MB / 0.5498 GB, free: 7.5 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.032634044997394] Failed to read output from testmodel.py, exit status != 0: 0.3543257932178676 0.369395625 0.050089721000000004 Calling exit ...