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.001322/0.001322, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001427/0.001427, allocations: 206.2 kB / 20.13 MB, free: 2.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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1655/0.1655, allocations: 23.88 MB / 333.4 MB, free: 1.18 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",fmuType="cs",version="2.0",platforms={"static"}) [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.001995/0.001995, allocations: 65.77 kB / 466.8 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1162, allocations: 59.83 MB / 0.5142 GB, free: 12.9 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.04354/0.1598, allocations: 30.26 MB / 0.5438 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03329/0.1931, allocations: 26.22 MB / 0.5694 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.1947, allocations: 35.69 kB / 0.5694 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.1964, allocations: 0.6009 MB / 0.57 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006061/0.2024, allocations: 2.164 MB / 0.5721 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00928/0.2117, allocations: 3.538 MB / 0.5756 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.2219, allocations: 7.413 MB / 0.5828 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007199/0.2291, allocations: 5.12 MB / 0.5878 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2975/0.5266, allocations: 4.959 MB / 0.5927 GB, free: 22.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01035/0.5369, allocations: 4.763 MB / 0.5973 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00427/0.5412, allocations: 0.6751 MB / 0.598 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/0.5561, allocations: 3.366 MB / 0.6013 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004365/0.5605, allocations: 1.8 MB / 0.603 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007914/0.5684, allocations: 3.36 MB / 0.6063 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.5884, allocations: 11.62 MB / 0.6177 GB, free: 18.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5884, allocations: 0.5 kB / 0.6177 GB, free: 18.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5884, allocations: 2.562 kB / 0.6177 GB, free: 18.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000399/0.5888, allocations: 0 / 0.6177 GB, free: 18.87 MB / 446.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.02375/0.6126, allocations: 7.324 MB / 0.6248 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.6126, allocations: 10.78 kB / 0.6248 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001431/0.6127, allocations: 123.5 kB / 0.6249 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003033/0.6158, allocations: 0.6596 MB / 0.6256 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007747/0.6235, allocations: 1.241 MB / 0.6268 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008746/0.6323, allocations: 3.279 MB / 0.63 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007773/0.633, allocations: 0.6711 MB / 0.6307 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004067/0.6371, allocations: 0.4917 MB / 0.6311 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.6581, allocations: 9.455 MB / 0.6404 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001998/0.6583, allocations: 3.281 kB / 0.6404 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00219/0.6605, allocations: 194.7 kB / 0.6406 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/0.6605, allocations: 116 kB / 0.6407 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02783/0.6884, allocations: 12.74 MB / 0.6531 GB, free: 5.566 MB / 462.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.07136/0.7597, allocations: 30.62 MB / 0.683 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06981/0.8295, allocations: 40.95 MB / 0.723 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01009/0.8396, allocations: 4.721 MB / 0.7276 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04837/0.888, allocations: 21.22 MB / 0.7483 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.961e-05/0.8881, allocations: 65.11 kB / 0.7484 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006124/0.8942, allocations: 1.286 MB / 0.7497 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 2.029e-05/0.8942, allocations: 0 / 0.7497 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.1132/1.007, allocations: 24.41 MB / 0.7735 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/1.007, allocations: 90.36 kB / 0.7736 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005567/1.013, allocations: 2.964 MB / 0.7765 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001235/1.014, allocations: 85.7 kB / 0.7766 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.016, allocations: 2.224 MB / 0.7787 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00246/1.019, allocations: 1.366 MB / 0.7801 GB, free: 320 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003587/1.022, allocations: 0.9818 MB / 0.781 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.023, allocations: 305.1 kB / 0.7813 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007083/1.03, allocations: 2.959 MB / 0.7842 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007946/1.038, allocations: 4.475 MB / 0.7886 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/1.053, allocations: 7.804 MB / 0.7962 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.633e-05/1.053, allocations: 20.59 kB / 0.7962 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.06773/1.121, allocations: 13.81 MB / 0.8097 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/1.121, allocations: 24 kB / 0.8097 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/1.121, allocations: 51.94 kB / 0.8098 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2758/1.397, allocations: 3.472 MB / 0.8132 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006559/1.403, allocations: 1.273 MB / 0.8144 GB, free: 218.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03632/1.439, allocations: 18.44 MB / 0.8324 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005489/1.445, allocations: 252 kB / 0.8327 GB, free: 212 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001703/1.447, allocations: 282 kB / 0.8329 GB, free: 212 MB / 0.6075 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.004584/1.451, allocations: 1.447 MB / 0.8343 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/1.453, allocations: 367.3 kB / 0.8347 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04118/1.494, allocations: 9.636 MB / 0.8441 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.672e-05/1.494, allocations: 44.53 kB / 0.8441 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.403e-05/1.494, allocations: 3.781 kB / 0.8441 GB, free: 208 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001598/1.494, allocations: 25.23 kB / 0.8442 GB, free: 207.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05256/1.547, allocations: 15.42 MB / 0.8592 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.767e-05/1.547, allocations: 4 kB / 0.8592 GB, free: 197.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005086/1.552, allocations: 0.845 MB / 0.8601 GB, free: 197 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006152/1.558, allocations: 2.129 MB / 0.8621 GB, free: 194.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001266/1.559, allocations: 139.9 kB / 0.8623 GB, free: 194.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02218/1.582, allocations: 12.63 MB / 0.8746 GB, free: 181.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.582, allocations: 7.938 kB / 0.8746 GB, free: 181.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04441/1.626, allocations: 12.95 MB / 0.8873 GB, free: 169.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003414/1.629, allocations: 0.9605 MB / 0.8882 GB, free: 168.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/1.631, allocations: 99.97 kB / 0.8883 GB, free: 168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003975/1.635, allocations: 158.5 kB / 0.8884 GB, free: 167.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001991/1.637, allocations: 454.4 kB / 0.8889 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00102/1.638, allocations: 150.6 kB / 0.889 GB, free: 167.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003339/1.642, allocations: 1.992 MB / 0.891 GB, free: 165.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/1.642, allocations: 3 kB / 0.891 GB, free: 165.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01028/1.652, allocations: 2.057 MB / 0.893 GB, free: 163.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 19 (solution.temperature,OxyRHm[1].logn,OxyRHm[2].logn,OxyRHm[3].logn,OxyRHm[4].logn,DeoxyRHm[1].logn,DeoxyRHm[2].logn,DeoxyRHm[3].logn,DeoxyRHm[4].logn,OxyTHm[1].logn,OxyTHm[2].logn,OxyTHm[3].logn,OxyTHm[4].logn,DeoxyTHm[1].logn,DeoxyTHm[2].logn,DeoxyTHm[3].logn,DeoxyTHm[4].logn,oxygen_unbound.logn,H2O.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (408): * Single equations (assignments): 405 * 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%), (9,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.04601/1.698, allocations: 14.77 MB / 0.9074 GB, free: 148.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01554/1.714, allocations: 7.063 MB / 0.9143 GB, free: 141.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/1.714, allocations: 0 / 0.9143 GB, free: 141.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008841/1.722, allocations: 3.777 MB / 0.918 GB, free: 137.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006358/1.729, allocations: 0.7666 MB / 0.9187 GB, free: 137.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1713/1.9, allocations: 54.76 MB / 0.9722 GB, free: 81.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003975/1.904, allocations: 3.303 MB / 0.9754 GB, free: 77.74 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004874/1.909, allocations: 1.587 MB / 0.977 GB, free: 76.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003538/1.913, allocations: 2.042 MB / 0.979 GB, free: 74.14 MB / 0.6075 GB Notification: Performance of SimCode: time 1.523e-06/1.913, allocations: 4 kB / 0.979 GB, free: 74.13 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4624/2.375, allocations: 128.7 MB / 1.105 GB, free: 172.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.95/37.33, allocations: 5.281 kB / 1.105 GB, free: 172.5 MB / 0.6075 GB " [Timeout remaining time 622] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC_fmu --startTime=0 --stopTime=15000 --stepSize=6 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC.fmu > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 40.45557434897637] Failed to read output from testmodel.py, exit status != 0: 37.55477449099999 37.57070982 36.978664092 Calling exit ...