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.001308/0.001308, allocations: 110.1 kB / 16.46 MB, free: 6.508 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.001387/0.001387, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.365/1.365, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.1324/0.1324, allocations: 23.89 MB / 332.7 MB, free: 12.32 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",fmuType="me",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.001941/0.001941, allocations: 71.89 kB / 466.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3148, allocations: 59.82 MB / 0.5136 GB, free: 8.84 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.04133/0.3562, allocations: 30.46 MB / 0.5433 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03223/0.3884, allocations: 26.22 MB / 0.5689 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.3903, allocations: 31.75 kB / 0.569 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.3921, allocations: 0.6006 MB / 0.5695 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006503/0.3986, allocations: 2.161 MB / 0.5716 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009612/0.4082, allocations: 3.55 MB / 0.5751 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008773/0.4169, allocations: 7.406 MB / 0.5823 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006238/0.4232, allocations: 5.12 MB / 0.5873 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006664/0.4298, allocations: 4.967 MB / 0.5922 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008066/0.4379, allocations: 4.76 MB / 0.5968 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002108/0.44, allocations: 0.6719 MB / 0.5975 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/0.4512, allocations: 3.37 MB / 0.6008 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003322/0.4546, allocations: 1.808 MB / 0.6026 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006022/0.4606, allocations: 3.354 MB / 0.6058 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02179/0.4824, allocations: 11.62 MB / 0.6172 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4824, allocations: 0 / 0.6172 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4824, allocations: 0 / 0.6172 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002911/0.4827, allocations: 0 / 0.6172 GB, free: 0.8438 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.01852/0.5012, allocations: 7.313 MB / 0.6243 GB, free: 9.438 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5013, allocations: 12.03 kB / 0.6243 GB, free: 9.426 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.5024, allocations: 0.6579 MB / 0.625 GB, free: 8.758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/0.5082, allocations: 1.238 MB / 0.6262 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00615/0.5144, allocations: 3.272 MB / 0.6294 GB, free: 4.168 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000596/0.515, allocations: 0.6843 MB / 0.6301 GB, free: 3.414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001211/0.5162, allocations: 0.4924 MB / 0.6305 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01667/0.5329, allocations: 9.446 MB / 0.6398 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.178e-05/0.5329, allocations: 3.938 kB / 0.6398 GB, free: 9.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006744/0.5336, allocations: 200 kB / 0.64 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.68e-05/0.5337, allocations: 119.9 kB / 0.6401 GB, free: 9.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/0.5553, allocations: 12.73 MB / 0.6525 GB, free: 12.3 MB / 0.4981 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.05835/0.6136, allocations: 30.62 MB / 0.6824 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06296/0.6766, allocations: 40.95 MB / 0.7224 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2086/0.8852, allocations: 4.717 MB / 0.727 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0341/0.9193, allocations: 21.23 MB / 0.7477 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.9193, allocations: 66.05 kB / 0.7478 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004462/0.9238, allocations: 1.276 MB / 0.749 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.054e-05/0.9238, allocations: 0 / 0.749 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.08809/1.012, allocations: 24.41 MB / 0.7729 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/1.012, allocations: 88.67 kB / 0.773 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/1.015, allocations: 2.963 MB / 0.7759 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001015/1.016, allocations: 92.36 kB / 0.7759 GB, free: 149 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009992/1.017, allocations: 2.223 MB / 0.7781 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.018, allocations: 1.364 MB / 0.7794 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/1.02, allocations: 0.9768 MB / 0.7804 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.925e-05/1.02, allocations: 305.1 kB / 0.7807 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003528/1.023, allocations: 2.963 MB / 0.7836 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004009/1.027, allocations: 4.478 MB / 0.788 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007915/1.035, allocations: 7.812 MB / 0.7956 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.467e-05/1.035, allocations: 16 kB / 0.7956 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05238/1.088, allocations: 13.81 MB / 0.8091 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/1.088, allocations: 24 kB / 0.8091 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.87e-05/1.088, allocations: 48 kB / 0.8092 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00795/1.096, allocations: 3.483 MB / 0.8126 GB, free: 111 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005363/1.101, allocations: 1.266 MB / 0.8138 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02791/1.129, allocations: 18.43 MB / 0.8318 GB, free: 90.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/1.133, allocations: 254.5 kB / 0.832 GB, free: 90.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000613/1.134, allocations: 283.8 kB / 0.8323 GB, free: 90.38 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.002004/1.136, allocations: 1.453 MB / 0.8337 GB, free: 88.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000773/1.137, allocations: 365.6 kB / 0.8341 GB, free: 88.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03353/1.17, allocations: 9.622 MB / 0.8435 GB, free: 79.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-05/1.17, allocations: 46.94 kB / 0.8435 GB, free: 78.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.17, allocations: 7.938 kB / 0.8435 GB, free: 78.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001334/1.17, allocations: 22.78 kB / 0.8436 GB, free: 78.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04122/1.211, allocations: 15.43 MB / 0.8586 GB, free: 63.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-05/1.212, allocations: 7.938 kB / 0.8586 GB, free: 63.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004327/1.216, allocations: 0.8451 MB / 0.8595 GB, free: 62.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005415/1.221, allocations: 2.126 MB / 0.8615 GB, free: 60.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006588/1.222, allocations: 142.5 kB / 0.8617 GB, free: 60.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/1.242, allocations: 12.63 MB / 0.874 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.242, allocations: 11.92 kB / 0.874 GB, free: 47.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03652/1.278, allocations: 12.95 MB / 0.8867 GB, free: 34.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002187/1.28, allocations: 0.9514 MB / 0.8876 GB, free: 33.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006312/1.281, allocations: 103.7 kB / 0.8877 GB, free: 33.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.283, allocations: 159.8 kB / 0.8878 GB, free: 33.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009914/1.284, allocations: 454.4 kB / 0.8883 GB, free: 32.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003013/1.285, allocations: 147.9 kB / 0.8884 GB, free: 32.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002077/1.287, allocations: 1.99 MB / 0.8904 GB, free: 30.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.287, allocations: 0 / 0.8904 GB, free: 30.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005936/1.293, allocations: 2.063 MB / 0.8924 GB, free: 28.54 MB / 0.5606 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.03864/1.331, allocations: 14.75 MB / 0.9068 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.343, allocations: 7.067 MB / 0.9137 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/1.343, allocations: 0.9375 kB / 0.9137 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006333/1.349, allocations: 3.769 MB / 0.9174 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/1.352, allocations: 0.7753 MB / 0.9181 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3649/1.717, allocations: 54.74 MB / 0.9716 GB, free: 184 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002728/1.72, allocations: 3.31 MB / 0.9748 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003794/1.724, allocations: 1.58 MB / 0.9764 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/1.726, allocations: 2.051 MB / 0.9784 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.726, allocations: 0 / 0.9784 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1565/1.883, allocations: 128.6 MB / 1.104 GB, free: 63.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.42/35.3, allocations: 12 kB / 1.104 GB, free: 63.82 MB / 0.5919 GB " [Timeout remaining time 625] (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 sys.exit(0), Time elapsed: 38.332381539046764] Failed to read output from testmodel.py, exit status != 0: 35.463921474060044 35.480033834 34.993808438 Calling exit ...