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.001325/0.001325, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001447/0.001447, allocations: 216.3 kB / 23.03 MB, free: 4.949 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1441/0.1441, allocations: 23.91 MB / 337.1 MB, free: 10.95 MB / 270.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.002088/0.002088, allocations: 67.89 kB / 472 MB, free: 7.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3735, allocations: 59.87 MB / 0.5194 GB, free: 9.695 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.0765/0.45, allocations: 29.06 MB / 0.5477 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03486/0.4848, allocations: 23.02 MB / 0.5702 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.4871, allocations: 35.69 kB / 0.5703 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.489, allocations: 0.5464 MB / 0.5708 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.4962, allocations: 2.168 MB / 0.5729 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.5066, allocations: 3.581 MB / 0.5764 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009047/0.5156, allocations: 7.394 MB / 0.5836 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006379/0.522, allocations: 4.335 MB / 0.5879 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00823/0.5302, allocations: 4.971 MB / 0.5927 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009191/0.5394, allocations: 4.756 MB / 0.5974 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002752/0.5422, allocations: 0.6758 MB / 0.598 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.5529, allocations: 3.261 MB / 0.6012 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003593/0.5565, allocations: 1.804 MB / 0.603 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006753/0.5633, allocations: 2.896 MB / 0.6058 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02262/0.5859, allocations: 11.64 MB / 0.6172 GB, free: 5.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5859, allocations: 0 / 0.6172 GB, free: 5.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5859, allocations: 0 / 0.6172 GB, free: 5.641 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003242/0.5862, allocations: 0 / 0.6172 GB, free: 5.641 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.02382/0.6101, allocations: 7.235 MB / 0.6242 GB, free: 14.34 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6101, allocations: 15.97 kB / 0.6242 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001642/0.6103, allocations: 125.8 kB / 0.6244 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002539/0.6128, allocations: 0.6579 MB / 0.625 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007619/0.6204, allocations: 1.241 MB / 0.6262 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008666/0.6291, allocations: 3.317 MB / 0.6295 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001096/0.6302, allocations: 1.011 MB / 0.6304 GB, free: 7.742 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002682/0.6329, allocations: 0.4946 MB / 0.6309 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/0.6607, allocations: 9.462 MB / 0.6402 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/0.6609, allocations: 3.938 kB / 0.6402 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002832/0.6637, allocations: 192 kB / 0.6404 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.6639, allocations: 120 kB / 0.6405 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02863/0.6925, allocations: 12.75 MB / 0.6529 GB, free: 0.6016 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.06985/0.7624, allocations: 27.33 MB / 0.6796 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06202/0.8244, allocations: 26.13 MB / 0.7051 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009834/0.8342, allocations: 4.72 MB / 0.7097 GB, free: 7.039 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04245/0.8767, allocations: 16.91 MB / 0.7263 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.8768, allocations: 69.09 kB / 0.7263 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00593/0.8827, allocations: 1.278 MB / 0.7276 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.961e-05/0.8827, allocations: 0 / 0.7276 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3277/1.21, allocations: 24.16 MB / 0.7512 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/1.21, allocations: 90.2 kB / 0.7513 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004457/1.215, allocations: 2.976 MB / 0.7542 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/1.216, allocations: 91.08 kB / 0.7542 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/1.217, allocations: 2.221 MB / 0.7564 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001823/1.219, allocations: 1.364 MB / 0.7577 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002124/1.221, allocations: 0.9799 MB / 0.7587 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.522e-05/1.221, allocations: 310.3 kB / 0.759 GB, free: 165 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005207/1.227, allocations: 2.961 MB / 0.7619 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006318/1.233, allocations: 4.491 MB / 0.7663 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.244, allocations: 7.81 MB / 0.7739 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-05/1.244, allocations: 17.56 kB / 0.7739 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05602/1.3, allocations: 13.82 MB / 0.7874 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/1.3, allocations: 28 kB / 0.7874 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-05/1.3, allocations: 48 kB / 0.7875 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008327/1.308, allocations: 3.466 MB / 0.7909 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005134/1.313, allocations: 1.266 MB / 0.7921 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03051/1.344, allocations: 17.95 MB / 0.8096 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/1.348, allocations: 247.8 kB / 0.8099 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/1.349, allocations: 282.5 kB / 0.8102 GB, free: 121 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.003397/1.353, allocations: 1.454 MB / 0.8116 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/1.354, allocations: 365.6 kB / 0.8119 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03651/1.391, allocations: 9.628 MB / 0.8213 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/1.391, allocations: 40 kB / 0.8214 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.651e-05/1.391, allocations: 14.53 kB / 0.8214 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001176/1.391, allocations: 19.92 kB / 0.8214 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04606/1.437, allocations: 14.91 MB / 0.836 GB, free: 94.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.389e-05/1.437, allocations: 0 / 0.836 GB, free: 94.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004179/1.441, allocations: 0.849 MB / 0.8368 GB, free: 93.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005509/1.447, allocations: 2.131 MB / 0.8389 GB, free: 91.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008202/1.448, allocations: 143.9 kB / 0.839 GB, free: 91.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/1.468, allocations: 12.17 MB / 0.8509 GB, free: 79.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.468, allocations: 7.938 kB / 0.8509 GB, free: 79.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03803/1.506, allocations: 12.95 MB / 0.8635 GB, free: 66.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002575/1.508, allocations: 0.9234 MB / 0.8644 GB, free: 65.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.509, allocations: 98.61 kB / 0.8645 GB, free: 65.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002817/1.512, allocations: 159.8 kB / 0.8647 GB, free: 64.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/1.513, allocations: 473.1 kB / 0.8651 GB, free: 64.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003737/1.514, allocations: 150.6 kB / 0.8653 GB, free: 64.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002237/1.516, allocations: 1.996 MB / 0.8672 GB, free: 62.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.516, allocations: 0 / 0.8672 GB, free: 62.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007055/1.523, allocations: 2.065 MB / 0.8693 GB, free: 60.36 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.04115/1.564, allocations: 14.75 MB / 0.8837 GB, free: 45.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01396/1.578, allocations: 7.072 MB / 0.8906 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.578, allocations: 0 / 0.8906 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007467/1.586, allocations: 3.783 MB / 0.8943 GB, free: 34.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004763/1.59, allocations: 0.7767 MB / 0.895 GB, free: 34.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1682/1.759, allocations: 54.81 MB / 0.9485 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005479/1.764, allocations: 2.781 MB / 0.9513 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006542/1.771, allocations: 1.588 MB / 0.9528 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005629/1.776, allocations: 2.044 MB / 0.9548 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of SimCode: time 2.355e-06/1.776, allocations: 0 / 0.9548 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4411/2.217, allocations: 135.5 MB / 1.087 GB, free: 95.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.35/38.57, allocations: 17.06 kB / 1.087 GB, free: 95.46 MB / 0.5919 GB " [Timeout remaining time 621] (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: 41.53638026199769] Failed to read output from testmodel.py, exit status != 0: 38.81580915302038 38.835123683 38.244895322 Calling exit ...