Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.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.001312/0.001312, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001425/0.001425, allocations: 217.3 kB / 23.01 MB, free: 4.969 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.1329/0.1329, allocations: 23.88 MB / 337.1 MB, free: 11.09 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.Hemoglobin.HemoglobinTitration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration") translateModel(Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration") [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.002077/0.002077, allocations: 67.91 kB / 472.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2984, allocations: 59.86 MB / 0.5198 GB, free: 9.746 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration): time 0.08613/0.3845, allocations: 40 MB / 0.5589 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.08714/0.4717, allocations: 64.1 MB / 0.6215 GB, free: 1.539 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004876/0.4765, allocations: 83.31 kB / 0.6215 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005094/0.4816, allocations: 1.473 MB / 0.623 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01881/0.5005, allocations: 5.994 MB / 0.6288 GB, free: 9.938 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02666/0.5271, allocations: 10.4 MB / 0.639 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02897/0.5561, allocations: 26.68 MB / 0.6651 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02173/0.5778, allocations: 16.28 MB / 0.6809 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0269/0.6047, allocations: 17.83 MB / 0.6984 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02916/0.6339, allocations: 16.73 MB / 0.7147 GB, free: 1.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01003/0.6439, allocations: 3.133 MB / 0.7178 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02992/0.6738, allocations: 10.53 MB / 0.728 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.5386/1.212, allocations: 7.064 MB / 0.7349 GB, free: 51.2 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.02801/1.24, allocations: 10.52 MB / 0.7452 GB, free: 51.2 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.06328/1.304, allocations: 44.92 MB / 0.7891 GB, free: 47.23 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.304, allocations: 0 / 0.7891 GB, free: 47.23 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.913e-06/1.304, allocations: 0 / 0.7891 GB, free: 47.23 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001083/1.305, allocations: 3.938 kB / 0.7891 GB, free: 47.22 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3812 * Number of variables: 3812 Notification: Performance of Generate backend data structure: time 0.07959/1.384, allocations: 23.68 MB / 0.8122 GB, free: 34.54 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.384, allocations: 8.844 kB / 0.8122 GB, free: 34.54 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02513/1.41, allocations: 3.979 MB / 0.8161 GB, free: 32.76 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03156/1.441, allocations: 12.62 MB / 0.8284 GB, free: 26.17 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001582/1.443, allocations: 3.076 MB / 0.8314 GB, free: 23.33 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009309/1.452, allocations: 1.532 MB / 0.8329 GB, free: 22.79 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.081/1.533, allocations: 35.27 MB / 0.8674 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007584/1.534, allocations: 7.75 kB / 0.8674 GB, free: 11.93 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01051/1.544, allocations: 0.5859 MB / 0.868 GB, free: 11.35 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003602/1.545, allocations: 367.9 kB / 0.8683 GB, free: 10.99 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1056/1.65, allocations: 47.48 MB / 0.9147 GB, free: 11.52 MB / 0.6232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.567/2.217, allocations: 116.5 MB / 1.028 GB, free: 148.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5764/2.794, allocations: 218.4 MB / 1.242 GB, free: 3.305 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2784/3.072, allocations: 18.49 MB / 1.26 GB, free: 262.9 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1492/3.221, allocations: 76.51 MB / 1.335 GB, free: 224.7 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.494e-05/3.221, allocations: 134.4 kB / 1.335 GB, free: 224.6 MB / 0.7013 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03066/3.252, allocations: 6.283 MB / 1.341 GB, free: 218.9 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=996): time 4.883e-05/3.252, allocations: 0 / 1.341 GB, free: 218.9 MB / 0.7013 GB Notification: Performance of matching and sorting (n=1130): time 0.7303/3.982, allocations: 136.4 MB / 1.474 GB, free: 83.3 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/3.982, allocations: 168.2 kB / 1.474 GB, free: 83.12 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01383/3.996, allocations: 9.75 MB / 1.484 GB, free: 73.41 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.003854/4, allocations: 213.7 kB / 1.484 GB, free: 73.19 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.003454/4.004, allocations: 7.119 MB / 1.491 GB, free: 66.07 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.00625/4.01, allocations: 4.105 MB / 1.495 GB, free: 62.02 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008711/4.018, allocations: 3.277 MB / 1.498 GB, free: 58.73 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 4.012e-05/4.019, allocations: 305.1 kB / 1.498 GB, free: 58.43 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01763/4.036, allocations: 11.84 MB / 1.51 GB, free: 46.57 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02203/4.058, allocations: 16.57 MB / 1.526 GB, free: 27.92 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3043/4.363, allocations: 29.76 MB / 1.555 GB, free: 232.9 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001663/4.363, allocations: 42.94 kB / 1.555 GB, free: 232.9 MB / 0.7013 GB Notification: Performance of matching and sorting (n=1891) (initialization): time 0.4839/4.847, allocations: 81.39 MB / 1.635 GB, free: 206.2 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/4.847, allocations: 72.28 kB / 1.635 GB, free: 206.2 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002503/4.847, allocations: 147.3 kB / 1.635 GB, free: 206.2 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06025/4.907, allocations: 22.37 MB / 1.657 GB, free: 185.7 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01778/4.925, allocations: 3.728 MB / 1.66 GB, free: 181.9 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1941/5.119, allocations: 92.35 MB / 1.75 GB, free: 89.36 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01897/5.138, allocations: 0.8274 MB / 1.751 GB, free: 88.53 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005539/5.144, allocations: 0.9368 MB / 1.752 GB, free: 87.59 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * 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 (1843): * Single equations (assignments): 1840 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (33,10,82.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01724/5.161, allocations: 5.376 MB / 1.757 GB, free: 82.29 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007948/5.169, allocations: 1.061 MB / 1.759 GB, free: 81.82 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2871/5.456, allocations: 48.46 MB / 1.806 GB, free: 33.38 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004181/5.456, allocations: 59.77 kB / 1.806 GB, free: 33.32 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.85e-05/5.456, allocations: 0 / 1.806 GB, free: 33.32 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01204/5.468, allocations: 3.375 MB / 1.809 GB, free: 30.56 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005364/5.474, allocations: 294.5 kB / 1.809 GB, free: 30.28 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.013/5.487, allocations: 0.5345 MB / 1.81 GB, free: 29.74 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0132/5.5, allocations: 3.651 MB / 1.814 GB, free: 26.08 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3202/5.82, allocations: 25.62 MB / 1.839 GB, free: 220.2 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.07219/5.892, allocations: 38.13 MB / 1.876 GB, free: 211.3 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0176/5.91, allocations: 10.55 MB / 1.886 GB, free: 207.3 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.01139/5.921, allocations: 6.483 MB / 1.892 GB, free: 205.1 MB / 0.7013 GB Notification: Performance of Backend: time 6.21e-07/5.921, allocations: 0 / 1.892 GB, free: 205.1 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.07215/5.994, allocations: 21.15 MB / 1.913 GB, free: 198.7 MB / 0.7013 GB Notification: Performance of SimCode: time 0.06053/6.054, allocations: 30.09 MB / 1.942 GB, free: 181 MB / 0.7013 GB Notification: Performance of Templates: time 0.6853/6.739, allocations: 362 MB / 2.296 GB, free: 126.5 MB / 0.7013 GB " [Timeout remaining time 653] make -j1 -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.sim & ./Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 22.309642367996275] Failed to read output from testmodel.py, exit status != 0: 6.749386654002592 6.758740184 5.452494551 Calling exit ...