Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57.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.001877/0.001877, 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.002317/0.002317, allocations: 216.6 kB / 23 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1818/0.1818, 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.Hemoglobin.Joels57,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57") translateModel(Chemical.Obsolete.Examples.Hemoglobin.Joels57,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57") [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.002092/0.002092, allocations: 63.91 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3096, allocations: 59.85 MB / 0.5198 GB, free: 9.82 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.Joels57): time 0.1244/0.434, allocations: 74.23 MB / 0.5923 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5188/0.9529, allocations: 191.2 MB / 0.779 GB, free: 16.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01385/0.9667, allocations: 229.9 kB / 0.7792 GB, free: 16.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.01377/0.9805, allocations: 4.451 MB / 0.7836 GB, free: 16.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.05183/1.032, allocations: 17.87 MB / 0.801 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0707/1.103, allocations: 32.66 MB / 0.8329 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.09627/1.199, allocations: 89.12 MB / 0.9199 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07263/1.272, allocations: 52.29 MB / 0.971 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6914/1.963, allocations: 56.57 MB / 1.026 GB, free: 44.12 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08485/2.048, allocations: 52.02 MB / 1.077 GB, free: 41.29 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.03755/2.086, allocations: 12.21 MB / 1.089 GB, free: 41.29 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1009/2.187, allocations: 34.51 MB / 1.123 GB, free: 32.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.03736/2.224, allocations: 24.02 MB / 1.146 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.1136/2.338, allocations: 39.03 MB / 1.184 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.9065/3.244, allocations: 159.6 MB / 1.34 GB, free: 108.3 MB / 0.842 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/3.244, allocations: 1.062 kB / 1.34 GB, free: 108.3 MB / 0.842 GB Notification: Performance of FrontEnd: time 1.633e-06/3.244, allocations: 0 / 1.34 GB, free: 108.3 MB / 0.842 GB Notification: Performance of Transformations before backend: time 0.002958/3.247, allocations: 0 / 1.34 GB, free: 108.3 MB / 0.842 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11424 * Number of variables: 11424 Notification: Performance of Generate backend data structure: time 0.2551/3.502, allocations: 71.68 MB / 1.41 GB, free: 87.89 MB / 0.842 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/3.502, allocations: 10 kB / 1.41 GB, free: 87.89 MB / 0.842 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08317/3.585, allocations: 11.94 MB / 1.422 GB, free: 84.84 MB / 0.842 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1127/3.698, allocations: 42.62 MB / 1.463 GB, free: 77.53 MB / 0.842 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006425/3.704, allocations: 9.234 MB / 1.472 GB, free: 69.03 MB / 0.842 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03554/3.74, allocations: 4.597 MB / 1.477 GB, free: 67.38 MB / 0.842 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2962/4.036, allocations: 112.9 MB / 1.587 GB, free: 2.59 MB / 0.8889 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002085/4.038, allocations: 28.59 kB / 1.587 GB, free: 2.578 MB / 0.8889 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03029/4.069, allocations: 1.758 MB / 1.589 GB, free: 0.8203 MB / 0.8889 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001048/4.07, allocations: 1.059 MB / 1.59 GB, free: 15.76 MB / 0.9045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6229/4.692, allocations: 153 MB / 1.739 GB, free: 352.2 MB / 0.9514 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 1.284/5.976, allocations: 389 MB / 2.119 GB, free: 317.4 MB / 0.9514 GB Notification: Performance of preOpt comSubExp (simulation): time 2.191/8.167, allocations: 0.6474 GB / 2.767 GB, free: 258 MB / 0.9514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1009/8.268, allocations: 60.05 MB / 2.825 GB, free: 205.8 MB / 0.9514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8471/9.115, allocations: 254.6 MB / 3.074 GB, free: 314.6 MB / 0.9514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/9.115, allocations: 337.3 kB / 3.074 GB, free: 314.5 MB / 0.9514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0947/9.21, allocations: 29.13 MB / 3.103 GB, free: 314.2 MB / 0.9514 GB Notification: Performance of pre-optimization done (n=2985): time 0.0001559/9.21, allocations: 1.734 kB / 3.103 GB, free: 314.2 MB / 0.9514 GB Notification: Performance of matching and sorting (n=3387): time 2.45/11.66, allocations: 423.7 MB / 3.517 GB, free: 315.4 MB / 0.9514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002209/11.66, allocations: 452.2 kB / 3.517 GB, free: 315.3 MB / 0.9514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05225/11.71, allocations: 30.72 MB / 3.547 GB, free: 304.8 MB / 0.9514 GB Notification: Performance of collectPreVariables (initialization): time 0.01278/11.73, allocations: 0.5717 MB / 3.548 GB, free: 304.3 MB / 0.9514 GB Notification: Performance of collectInitialEqns (initialization): time 0.01618/11.74, allocations: 21.64 MB / 3.569 GB, free: 291.9 MB / 0.9514 GB Notification: Performance of collectInitialBindings (initialization): time 0.02297/11.76, allocations: 12.41 MB / 3.581 GB, free: 282.3 MB / 0.9514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0507/11.82, allocations: 9.929 MB / 3.59 GB, free: 278.5 MB / 0.9514 GB Notification: Performance of setup shared object (initialization): time 4.965e-05/11.82, allocations: 301.1 kB / 3.591 GB, free: 278.2 MB / 0.9514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07035/11.89, allocations: 39.04 MB / 3.629 GB, free: 261.9 MB / 0.9514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08414/11.97, allocations: 53.25 MB / 3.681 GB, free: 221.4 MB / 0.9514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1493/12.12, allocations: 96.36 MB / 3.775 GB, free: 118.6 MB / 0.9514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005081/12.12, allocations: 124 kB / 3.775 GB, free: 118.5 MB / 0.9514 GB Notification: Performance of matching and sorting (n=5667) (initialization): time 1.78/13.9, allocations: 257.1 MB / 4.026 GB, free: 245.7 MB / 0.9514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008086/13.9, allocations: 200.6 kB / 4.026 GB, free: 245.7 MB / 0.9514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009249/13.9, allocations: 443.8 kB / 4.027 GB, free: 245.7 MB / 0.9514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1854/14.09, allocations: 73.71 MB / 4.099 GB, free: 196.9 MB / 0.9514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05235/14.14, allocations: 11.18 MB / 4.11 GB, free: 186.4 MB / 0.9514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9824/15.12, allocations: 309.6 MB / 4.412 GB, free: 232.6 MB / 0.9514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05664/15.18, allocations: 2.481 MB / 4.415 GB, free: 231.9 MB / 0.9514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01655/15.19, allocations: 2.799 MB / 4.417 GB, free: 231.5 MB / 0.9514 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2031 * 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 (5523): * Single equations (assignments): 5514 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (33,10,82.4%), (1,3,100.0%), (33,10,82.4%), (1,3,100.0%), (33,10,82.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.04889/15.24, allocations: 18.34 MB / 4.435 GB, free: 223.8 MB / 0.9514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02232/15.27, allocations: 3.166 MB / 4.438 GB, free: 223.8 MB / 0.9514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8827/16.15, allocations: 152.3 MB / 4.587 GB, free: 110.9 MB / 0.9514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/16.15, allocations: 183.2 kB / 4.587 GB, free: 110.7 MB / 0.9514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001886/16.15, allocations: 0 / 4.587 GB, free: 110.7 MB / 0.9514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03659/16.19, allocations: 11.32 MB / 4.598 GB, free: 101.2 MB / 0.9514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01775/16.2, allocations: 0.8982 MB / 4.599 GB, free: 100.3 MB / 0.9514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04143/16.25, allocations: 1.606 MB / 4.601 GB, free: 98.7 MB / 0.9514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.05454/16.3, allocations: 10.88 MB / 4.611 GB, free: 87.79 MB / 0.9514 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5799/16.88, allocations: 84.53 MB / 4.694 GB, free: 245.2 MB / 0.9514 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2235/17.1, allocations: 124.5 MB / 4.815 GB, free: 210.2 MB / 0.9514 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.05358/17.16, allocations: 35.44 MB / 4.85 GB, free: 195.4 MB / 0.9514 GB Notification: Performance of sorting global known variables: time 0.03494/17.19, allocations: 20.8 MB / 4.87 GB, free: 187.8 MB / 0.9514 GB Notification: Performance of Backend: time 6.92e-07/17.19, allocations: 1.812 kB / 4.87 GB, free: 187.8 MB / 0.9514 GB Notification: Performance of simCode: created initialization part: time 0.2131/17.41, allocations: 66.99 MB / 4.936 GB, free: 157.6 MB / 0.9514 GB Notification: Performance of SimCode: time 0.5731/17.98, allocations: 93.7 MB / 5.027 GB, free: 264.2 MB / 0.9514 GB Notification: Performance of Templates: time 2.447/20.42, allocations: 1.129 GB / 6.156 GB, free: 268 MB / 0.9514 GB " [Timeout remaining time 640] make -j1 -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57.sim & ./Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Joels57.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 63.84820348701032] Failed to read output from testmodel.py, exit status != 0: 20.434313575999113 20.454650331 17.206337817 Calling exit ...