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.001385/0.001385, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.00159/0.00159, allocations: 212.9 kB / 23 MB, free: 4.934 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.1308/0.1308, allocations: 23.92 MB / 337.1 MB, free: 10.91 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.002121/0.002121, allocations: 67.89 kB / 472.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2982, allocations: 59.87 MB / 0.5198 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003428/0.3016, allocations: 2.82 MB / 0.5226 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005523/0.3071, allocations: 5.546 MB / 0.528 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.3073, allocations: 15.66 kB / 0.528 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.3078, allocations: 138.6 kB / 0.5282 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005568/0.3083, allocations: 254.9 kB / 0.5284 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.3102, allocations: 0.9681 MB / 0.5293 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005746/0.3107, allocations: 0.4906 MB / 0.5298 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.311, allocations: 131.3 kB / 0.5299 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.3112, allocations: 242 kB / 0.5302 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.3115, allocations: 245.9 kB / 0.5304 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.056e-05/0.3116, allocations: 25.09 kB / 0.5304 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.3126, allocations: 0.5322 MB / 0.531 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3127, allocations: 90.98 kB / 0.531 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.3129, allocations: 151.6 kB / 0.5312 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.3143, allocations: 1.03 MB / 0.5322 GB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3143, allocations: 10.3 kB / 0.5322 GB, free: 2.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3143, allocations: 0 / 0.5322 GB, free: 2.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3143, allocations: 0 / 0.5322 GB, free: 2.105 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.0009595/0.3153, allocations: 0.6895 MB / 0.5329 GB, free: 1.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3153, allocations: 8.469 kB / 0.5329 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/0.3158, allocations: 109.1 kB / 0.533 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.3164, allocations: 323.1 kB / 0.5333 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3164, allocations: 14.28 kB / 0.5333 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.3165, allocations: 25.25 kB / 0.5333 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.3171, allocations: 381.7 kB / 0.5337 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3171, allocations: 0 / 0.5337 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.3171, allocations: 10.59 kB / 0.5337 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.3171, allocations: 10.89 kB / 0.5337 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.3179, allocations: 0.5417 MB / 0.5342 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.3196, allocations: 1.286 MB / 0.5355 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.3199, allocations: 155.2 kB / 0.5357 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.3201, allocations: 87.75 kB / 0.5357 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/0.3221, allocations: 0.9382 MB / 0.5367 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3221, allocations: 41.25 kB / 0.5367 GB, free: 15.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.3221, allocations: 0 / 0.5367 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004895/0.3226, allocations: 214.2 kB / 0.5369 GB, free: 15.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3226, allocations: 52.78 kB / 0.5369 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.323, allocations: 353.5 kB / 0.5373 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.323, allocations: 31.08 kB / 0.5373 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.3232, allocations: 240.2 kB / 0.5375 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.3232, allocations: 47.22 kB / 0.5376 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3233, allocations: 70.5 kB / 0.5377 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3235, allocations: 348.7 kB / 0.538 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.3236, allocations: 61.59 kB / 0.538 GB, free: 14.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.3239, allocations: 245.4 kB / 0.5383 GB, free: 14.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.3243, allocations: 346.6 kB / 0.5386 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3243, allocations: 1.469 kB / 0.5386 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005726/0.3249, allocations: 348.4 kB / 0.5389 GB, free: 13.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3249, allocations: 7.875 kB / 0.539 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3249, allocations: 7.438 kB / 0.539 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.3249, allocations: 7.688 kB / 0.539 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3252, allocations: 80.11 kB / 0.539 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.3252, allocations: 14.72 kB / 0.5391 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3254, allocations: 35.72 kB / 0.5391 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.3254, allocations: 22.03 kB / 0.5391 GB, free: 13.68 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.0001645/0.3256, allocations: 158.3 kB / 0.5393 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.3257, allocations: 39.56 kB / 0.5393 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.3262, allocations: 275.7 kB / 0.5396 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3262, allocations: 0.7031 kB / 0.5396 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3262, allocations: 0 / 0.5396 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.3263, allocations: 35.78 kB / 0.5396 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/0.3264, allocations: 9.578 kB / 0.5396 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.3264, allocations: 2.406 kB / 0.5396 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.3265, allocations: 11.33 kB / 0.5396 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001929/0.3267, allocations: 159.5 kB / 0.5398 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002432/0.3269, allocations: 280.2 kB / 0.54 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.325e-05/0.327, allocations: 28.45 kB / 0.5401 GB, free: 12.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003273/0.3273, allocations: 280.5 kB / 0.5403 GB, free: 12.78 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3273, allocations: 0 / 0.5403 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.3287, allocations: 0.5274 MB / 0.5408 GB, free: 12.54 MB / 398.1 MB Notification: Performance of SimCode: time 0.001337/0.33, allocations: 1.074 MB / 0.5419 GB, free: 11.73 MB / 398.1 MB Notification: Performance of Templates: time 0.01488/0.3449, allocations: 8.99 MB / 0.5507 GB, free: 8.242 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: 4.78185643699544] Failed to read output from testmodel.py, exit status != 0: 0.35279446399363223 0.36701185499999994 0.049629117 Calling exit ...