Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.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.001832/0.001832, allocations: 109.1 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.002161/0.002161, allocations: 213.7 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1393/0.1393, allocations: 23.91 MB / 337.1 MB, free: 10.93 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.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") translateModel(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") [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.002048/0.002048, allocations: 71.88 kB / 472.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 59.87 MB / 0.5199 GB, free: 9.758 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.Allosteric_Hemoglobin2_MWC): time 0.07419/0.3824, allocations: 29.29 MB / 0.5485 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03254/0.415, allocations: 23.04 MB / 0.571 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.4168, allocations: 35.69 kB / 0.571 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.4185, allocations: 0.5426 MB / 0.5715 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007461/0.426, allocations: 2.164 MB / 0.5736 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.4366, allocations: 3.577 MB / 0.5771 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008865/0.4455, allocations: 7.398 MB / 0.5844 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005681/0.4512, allocations: 4.343 MB / 0.5886 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/0.4583, allocations: 4.971 MB / 0.5935 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008025/0.4663, allocations: 4.76 MB / 0.5981 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002056/0.4684, allocations: 0.6758 MB / 0.5988 GB, free: 8.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009224/0.4776, allocations: 3.253 MB / 0.6019 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002494/0.4801, allocations: 1.812 MB / 0.6037 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004747/0.4848, allocations: 2.9 MB / 0.6065 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01909/0.5039, allocations: 11.64 MB / 0.6179 GB, free: 5.129 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.5039, allocations: 0 / 0.6179 GB, free: 5.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5039, allocations: 0 / 0.6179 GB, free: 5.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001847/0.5041, allocations: 0 / 0.6179 GB, free: 5.129 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.01967/0.5238, allocations: 7.241 MB / 0.625 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5238, allocations: 8.031 kB / 0.625 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006331/0.5302, allocations: 1.238 MB / 0.6262 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008924/0.5391, allocations: 3.313 MB / 0.6294 GB, free: 9.195 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009096/0.54, allocations: 1.003 MB / 0.6304 GB, free: 8.043 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001901/0.5419, allocations: 0.4963 MB / 0.6309 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/0.5608, allocations: 9.462 MB / 0.6401 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.203e-05/0.5609, allocations: 7.875 kB / 0.6401 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007315/0.5617, allocations: 196 kB / 0.6403 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.582e-05/0.5617, allocations: 120 kB / 0.6404 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02415/0.5859, allocations: 12.66 MB / 0.6528 GB, free: 0.9766 MB / 494.1 MB 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.06695/0.6528, allocations: 26.73 MB / 0.6789 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0614/0.7142, allocations: 26.13 MB / 0.7044 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008724/0.723, allocations: 4.712 MB / 0.709 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03932/0.7623, allocations: 16.9 MB / 0.7255 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.956e-05/0.7624, allocations: 65.11 kB / 0.7256 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005264/0.7676, allocations: 1.254 MB / 0.7268 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.149e-05/0.7676, allocations: 0 / 0.7268 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3241/1.092, allocations: 24.16 MB / 0.7504 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/1.092, allocations: 93.83 kB / 0.7505 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/1.095, allocations: 2.837 MB / 0.7533 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000965/1.096, allocations: 90.73 kB / 0.7534 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.097, allocations: 2.225 MB / 0.7555 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001331/1.099, allocations: 1.361 MB / 0.7569 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/1.1, allocations: 0.98 MB / 0.7578 GB, free: 166 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.358e-05/1.1, allocations: 304.9 kB / 0.7581 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004407/1.105, allocations: 2.963 MB / 0.761 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004887/1.11, allocations: 4.487 MB / 0.7654 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008846/1.118, allocations: 7.815 MB / 0.773 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.529e-05/1.119, allocations: 12.94 kB / 0.773 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05607/1.175, allocations: 13.81 MB / 0.7865 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/1.175, allocations: 28 kB / 0.7865 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.405e-05/1.175, allocations: 54.61 kB / 0.7866 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008439/1.183, allocations: 3.465 MB / 0.79 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005478/1.189, allocations: 1.273 MB / 0.7912 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02983/1.218, allocations: 17.87 MB / 0.8087 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004634/1.223, allocations: 254.5 kB / 0.8089 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000586/1.224, allocations: 279.8 kB / 0.8092 GB, free: 122.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 218 * 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 (599): * Single equations (assignments): 596 * 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 {(9,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002265/1.226, allocations: 1.451 MB / 0.8106 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007872/1.227, allocations: 352.8 kB / 0.8109 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03554/1.262, allocations: 9.62 MB / 0.8203 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001339/1.262, allocations: 19.92 kB / 0.8203 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.262, allocations: 0 / 0.8203 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003173/1.266, allocations: 0.9017 MB / 0.8212 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00081/1.266, allocations: 83.98 kB / 0.8213 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/1.269, allocations: 177.4 kB / 0.8215 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001685/1.271, allocations: 0.8245 MB / 0.8223 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01337/1.284, allocations: 6.815 MB / 0.8289 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01152/1.295, allocations: 9.891 MB / 0.8386 GB, free: 92.12 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003165/1.299, allocations: 2.737 MB / 0.8413 GB, free: 89.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002014/1.301, allocations: 1.843 MB / 0.8431 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of Backend: time 2.1e-07/1.301, allocations: 0 / 0.8431 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.314, allocations: 6.209 MB / 0.8491 GB, free: 81.66 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01136/1.325, allocations: 9.209 MB / 0.8581 GB, free: 72.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.3587/1.684, allocations: 106.9 MB / 0.9625 GB, free: 197.5 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & ./Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 28.70273411400558] Failed to read output from testmodel.py, exit status != 0: 1.6930523399933008 1.704763649 1.198163703 Calling exit ...