Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00136/0.00136, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.001505/0.001505, allocations: 213.7 kB / 23 MB, free: 4.973 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1351/0.1351, allocations: 23.93 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.Hemoglobin.HemoglobinTitration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration") translateModel(Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002164/0.002164, allocations: 75.89 kB / 472.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2915, allocations: 59.87 MB / 0.5199 GB, free: 9.777 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.08601/0.3776, allocations: 40.09 MB / 0.559 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0858/0.4634, allocations: 64.11 MB / 0.6216 GB, free: 1.359 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004345/0.4677, allocations: 75.38 kB / 0.6217 GB, free: 1.285 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004926/0.4726, allocations: 1.477 MB / 0.6231 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01806/0.4907, allocations: 5.99 MB / 0.629 GB, free: 9.766 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02665/0.5173, allocations: 10.41 MB / 0.6392 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02895/0.5463, allocations: 26.67 MB / 0.6652 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02169/0.568, allocations: 16.28 MB / 0.6811 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02714/0.5951, allocations: 17.84 MB / 0.6985 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02941/0.6245, allocations: 16.73 MB / 0.7149 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.009983/0.6345, allocations: 3.129 MB / 0.7179 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03095/0.6655, allocations: 10.54 MB / 0.7282 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.45/1.115, allocations: 7.062 MB / 0.7351 GB, free: 51.34 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.02689/1.142, allocations: 10.52 MB / 0.7454 GB, free: 51.34 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.06436/1.207, allocations: 44.92 MB / 0.7892 GB, free: 47.35 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.207, allocations: 0 / 0.7892 GB, free: 47.35 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.423e-06/1.207, allocations: 0 / 0.7892 GB, free: 47.35 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001113/1.208, allocations: 1.812 kB / 0.7892 GB, free: 47.35 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.08165/1.289, allocations: 23.67 MB / 0.8124 GB, free: 34.58 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.29, allocations: 6.469 kB / 0.8124 GB, free: 34.58 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02683/1.316, allocations: 3.981 MB / 0.8163 GB, free: 32.8 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0338/1.35, allocations: 12.63 MB / 0.8286 GB, free: 26.21 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001921/1.352, allocations: 3.072 MB / 0.8316 GB, free: 23.38 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01243/1.364, allocations: 1.537 MB / 0.8331 GB, free: 22.82 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08209/1.447, allocations: 35.26 MB / 0.8675 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000674/1.447, allocations: 10.75 kB / 0.8675 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009379/1.457, allocations: 0.5886 MB / 0.8681 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003504/1.457, allocations: 361.4 kB / 0.8685 GB, free: 10.92 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1094/1.566, allocations: 47.48 MB / 0.9148 GB, free: 11.45 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.5184/2.085, allocations: 116.5 MB / 1.029 GB, free: 189.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.563/2.648, allocations: 218.4 MB / 1.242 GB, free: 16.95 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.281/2.929, allocations: 18.49 MB / 1.26 GB, free: 231.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1631/3.092, allocations: 76.51 MB / 1.335 GB, free: 202.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/3.092, allocations: 129.1 kB / 1.335 GB, free: 202.8 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03748/3.129, allocations: 6.285 MB / 1.341 GB, free: 199.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=996): time 3.828e-05/3.13, allocations: 0 / 1.341 GB, free: 199.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=1130): time 0.697/3.827, allocations: 136.4 MB / 1.474 GB, free: 64.58 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/3.827, allocations: 168.2 kB / 1.474 GB, free: 64.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/3.839, allocations: 9.75 MB / 1.484 GB, free: 54.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.004062/3.843, allocations: 209.7 kB / 1.484 GB, free: 54.47 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003622/3.846, allocations: 7.122 MB / 1.491 GB, free: 47.35 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.006247/3.853, allocations: 4.107 MB / 1.495 GB, free: 43.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008933/3.862, allocations: 3.277 MB / 1.498 GB, free: 40.01 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.849e-05/3.862, allocations: 301.1 kB / 1.498 GB, free: 39.71 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0188/3.88, allocations: 11.84 MB / 1.51 GB, free: 27.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2818/4.162, allocations: 16.57 MB / 1.526 GB, free: 207.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0525/4.215, allocations: 29.76 MB / 1.555 GB, free: 197.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001625/4.215, allocations: 43.5 kB / 1.555 GB, free: 197.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=1891) (initialization): time 0.4295/4.644, allocations: 81.39 MB / 1.635 GB, free: 159.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/4.644, allocations: 69.41 kB / 1.635 GB, free: 159 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002662/4.645, allocations: 152 kB / 1.635 GB, free: 158.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0566/4.701, allocations: 22.36 MB / 1.657 GB, free: 136.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01707/4.718, allocations: 3.733 MB / 1.66 GB, free: 133 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1682/4.887, allocations: 92.36 MB / 1.751 GB, free: 40.38 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01891/4.906, allocations: 0.8299 MB / 1.751 GB, free: 39.55 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005755/4.911, allocations: 0.9328 MB / 1.752 GB, free: 38.62 MB / 0.67 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.01454/4.926, allocations: 5.377 MB / 1.758 GB, free: 33.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00568/4.932, allocations: 1.063 MB / 1.759 GB, free: 32.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5301/5.462, allocations: 48.44 MB / 1.806 GB, free: 196 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004865/5.462, allocations: 59.34 kB / 1.806 GB, free: 196 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/5.462, allocations: 2.312 kB / 1.806 GB, free: 196 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01472/5.477, allocations: 3.378 MB / 1.809 GB, free: 196 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00759/5.484, allocations: 294.3 kB / 1.81 GB, free: 196 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01541/5.5, allocations: 0.5311 MB / 1.81 GB, free: 196 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01576/5.516, allocations: 3.654 MB / 1.814 GB, free: 196 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07268/5.588, allocations: 25.63 MB / 1.839 GB, free: 191 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06926/5.658, allocations: 38.13 MB / 1.876 GB, free: 174.5 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01875/5.676, allocations: 10.55 MB / 1.886 GB, free: 165.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0119/5.688, allocations: 6.481 MB / 1.893 GB, free: 159.4 MB / 0.67 GB Notification: Performance of Backend: time 8.72e-07/5.688, allocations: 0 / 1.893 GB, free: 159.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.06824/5.756, allocations: 21.15 MB / 1.913 GB, free: 139.7 MB / 0.67 GB Notification: Performance of SimCode: time 0.04723/5.804, allocations: 30.11 MB / 1.943 GB, free: 109.8 MB / 0.67 GB Notification: Performance of Templates: time 0.6352/6.439, allocations: 361.9 MB / 2.296 GB, free: 13.25 MB / 0.67 GB " [Timeout remaining time 654] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.sim & ./Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.HemoglobinTitration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 22.094645928009413] Failed to read output from testmodel.py, exit status != 0: 6.447845671034884 6.627369212 5.417813135 Calling exit ...