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.001613/0.001613, allocations: 101.1 kB / 19.71 MB, free: 2.105 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.002005/0.002005, allocations: 208 kB / 23 MB, free: 4.918 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1294/0.1294, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.002094/0.002094, allocations: 75.88 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.288, allocations: 59.86 MB / 0.5198 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003315/0.2913, allocations: 2.818 MB / 0.5225 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.2966, allocations: 5.544 MB / 0.5279 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2968, allocations: 12.97 kB / 0.5279 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.2972, allocations: 141.5 kB / 0.5281 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.2977, allocations: 259.1 kB / 0.5283 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.2994, allocations: 0.9724 MB / 0.5293 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.2999, allocations: 494.4 kB / 0.5297 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.3001, allocations: 139.5 kB / 0.5299 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3004, allocations: 242.2 kB / 0.5301 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.3007, allocations: 245.3 kB / 0.5303 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.3007, allocations: 25.12 kB / 0.5304 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.3018, allocations: 0.534 MB / 0.5309 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3019, allocations: 85.39 kB / 0.531 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.3022, allocations: 155.5 kB / 0.5311 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.304, allocations: 1.039 MB / 0.5321 GB, free: 2.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.304, allocations: 0 / 0.5321 GB, free: 2.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.304, allocations: 0 / 0.5321 GB, free: 2.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.304, allocations: 1.531 kB / 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.001095/0.3051, allocations: 0.689 MB / 0.5328 GB, free: 1.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3051, allocations: 9.125 kB / 0.5328 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005939/0.3057, allocations: 115.9 kB / 0.5329 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.3064, allocations: 319.5 kB / 0.5332 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.3065, allocations: 17.56 kB / 0.5332 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.801e-05/0.3065, allocations: 25.62 kB / 0.5333 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/0.3072, allocations: 381.7 kB / 0.5336 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3073, allocations: 5.188 kB / 0.5336 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.3073, allocations: 10.31 kB / 0.5337 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.3073, allocations: 5.812 kB / 0.5337 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009273/0.3082, allocations: 0.5419 MB / 0.5342 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.3098, allocations: 1.275 MB / 0.5354 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.3102, allocations: 154.2 kB / 0.5356 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.3103, allocations: 92.73 kB / 0.5357 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/0.3124, allocations: 0.9386 MB / 0.5366 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3124, allocations: 32.78 kB / 0.5366 GB, free: 15.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.3124, allocations: 0 / 0.5366 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004604/0.3129, allocations: 215 kB / 0.5368 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3129, allocations: 52.53 kB / 0.5369 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.3132, allocations: 358.5 kB / 0.5372 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3133, allocations: 26.98 kB / 0.5372 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.3134, allocations: 238.5 kB / 0.5375 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.3135, allocations: 46.69 kB / 0.5375 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.3136, allocations: 70.42 kB / 0.5376 GB, free: 14.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3137, allocations: 345.4 kB / 0.5379 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.3139, allocations: 63.23 kB / 0.538 GB, free: 14.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.3141, allocations: 246.3 kB / 0.5382 GB, free: 14.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.3145, allocations: 341.8 kB / 0.5385 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3145, allocations: 9.312 kB / 0.5385 GB, free: 13.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005356/0.3151, allocations: 350.7 kB / 0.5389 GB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3151, allocations: 8.219 kB / 0.5389 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3151, allocations: 5.594 kB / 0.5389 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3151, allocations: 10.56 kB / 0.5389 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.3153, allocations: 79.38 kB / 0.539 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.3154, allocations: 12.77 kB / 0.539 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.3155, allocations: 33.47 kB / 0.539 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.3156, allocations: 25.03 kB / 0.539 GB, free: 13.7 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.0001541/0.3157, allocations: 167.2 kB / 0.5392 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.3158, allocations: 34.08 kB / 0.5392 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005491/0.3164, allocations: 280.8 kB / 0.5395 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3164, allocations: 0.75 kB / 0.5395 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3164, allocations: 0 / 0.5395 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.3164, allocations: 35.94 kB / 0.5395 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.3165, allocations: 14.27 kB / 0.5395 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.3166, allocations: 5.844 kB / 0.5396 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.3166, allocations: 3.547 kB / 0.5396 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001842/0.3168, allocations: 154.6 kB / 0.5397 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002413/0.317, allocations: 284 kB / 0.54 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.956e-05/0.3171, allocations: 29.3 kB / 0.54 GB, free: 12.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.3174, allocations: 276.2 kB / 0.5403 GB, free: 12.8 MB / 398.1 MB Notification: Performance of Backend: time 4.4e-07/0.3174, allocations: 0 / 0.5403 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.3187, allocations: 0.5257 MB / 0.5408 GB, free: 12.56 MB / 398.1 MB Notification: Performance of SimCode: time 0.001334/0.32, allocations: 1.069 MB / 0.5418 GB, free: 11.75 MB / 398.1 MB Notification: Performance of Templates: time 0.01456/0.3346, allocations: 8.998 MB / 0.5506 GB, free: 8.277 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.811073189004674] Failed to read output from testmodel.py, exit status != 0: 0.3423808730003657 0.35668563099999995 0.049688398 Calling exit ...