Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.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.00139/0.00139, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001527/0.001527, allocations: 216 kB / 23.04 MB, free: 5.078 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.1399/0.1399, allocations: 23.88 MB / 337.1 MB, free: 11.17 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.GasSolubility_blood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood",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.002925/0.002925, allocations: 55.91 kB / 472 MB, free: 7.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3173, allocations: 59.86 MB / 0.5194 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006767/0.3241, allocations: 7.088 MB / 0.5263 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02649/0.3506, allocations: 21.94 MB / 0.5477 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.3518, allocations: 18.09 kB / 0.5477 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.3534, allocations: 455.4 kB / 0.5482 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006145/0.3595, allocations: 1.682 MB / 0.5498 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009838/0.3694, allocations: 2.84 MB / 0.5526 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003936/0.3733, allocations: 1.828 MB / 0.5544 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.3748, allocations: 0.7745 MB / 0.5551 GB, free: 220 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.3763, allocations: 0.8702 MB / 0.556 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.3779, allocations: 0.9509 MB / 0.5569 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.3782, allocations: 152.6 kB / 0.5571 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008828/0.387, allocations: 2.353 MB / 0.5594 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006083/0.3876, allocations: 364.9 kB / 0.5597 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.3889, allocations: 0.7927 MB / 0.5605 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.4006, allocations: 4.255 MB / 0.5646 GB, free: 10.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4006, allocations: 0 / 0.5646 GB, free: 10.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4006, allocations: 1.594 kB / 0.5646 GB, free: 10.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.868e-05/0.4006, allocations: 4 kB / 0.5646 GB, free: 10.88 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004603/0.4052, allocations: 2.047 MB / 0.5666 GB, free: 9.449 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4053, allocations: 10.41 kB / 0.5666 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.561e-05/0.4053, allocations: 32.12 kB / 0.5667 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002431/0.4056, allocations: 192.8 kB / 0.5669 GB, free: 9.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.4073, allocations: 383.3 kB / 0.5672 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.4089, allocations: 0.6964 MB / 0.5679 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.955e-05/0.409, allocations: 94.83 kB / 0.568 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002333/0.4092, allocations: 136.3 kB / 0.5681 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.4121, allocations: 1.783 MB / 0.5699 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.4121, allocations: 4 kB / 0.5699 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.4123, allocations: 48 kB / 0.5699 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.4123, allocations: 32 kB / 0.57 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003951/0.4162, allocations: 2.516 MB / 0.5724 GB, free: 3.496 MB / 414.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.009439/0.4257, allocations: 5.093 MB / 0.5774 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00382/0.4295, allocations: 1.886 MB / 0.5792 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009326/0.4304, allocations: 490.7 kB / 0.5797 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007205/0.4376, allocations: 2.878 MB / 0.5825 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.4377, allocations: 43.22 kB / 0.5825 GB, free: 8.879 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/0.4377, allocations: 0 / 0.5825 GB, free: 8.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01509/0.4528, allocations: 3.229 MB / 0.5857 GB, free: 5.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.4528, allocations: 64.39 kB / 0.5858 GB, free: 5.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.4545, allocations: 1.323 MB / 0.5871 GB, free: 4.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.4547, allocations: 37.7 kB / 0.5871 GB, free: 4.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00056/0.4552, allocations: 0.7022 MB / 0.5878 GB, free: 3.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.4555, allocations: 333.2 kB / 0.5881 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000449/0.456, allocations: 287.4 kB / 0.5884 GB, free: 2.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4562, allocations: 361.9 kB / 0.5887 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008797/0.457, allocations: 0.5271 MB / 0.5892 GB, free: 1.938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.4584, allocations: 1.004 MB / 0.5902 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.4605, allocations: 1.449 MB / 0.5916 GB, free: 15.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.4605, allocations: 4 kB / 0.5916 GB, free: 15.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004911/0.4654, allocations: 1.936 MB / 0.5935 GB, free: 13.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4654, allocations: 12 kB / 0.5935 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.4655, allocations: 19.94 kB / 0.5935 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.4674, allocations: 245.5 kB / 0.5938 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4686, allocations: 355.5 kB / 0.5941 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/0.4744, allocations: 3.662 MB / 0.5977 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.4755, allocations: 56.05 kB / 0.5977 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.4757, allocations: 75.98 kB / 0.5978 GB, free: 8.453 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000526/0.4762, allocations: 301.7 kB / 0.5981 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.4764, allocations: 115.2 kB / 0.5982 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.4805, allocations: 1.244 MB / 0.5994 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4805, allocations: 8 kB / 0.5994 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4805, allocations: 8 kB / 0.5994 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4805, allocations: 3.984 kB / 0.5995 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.4823, allocations: 1.062 MB / 0.6005 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.4823, allocations: 0 / 0.6005 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007151/0.483, allocations: 179.7 kB / 0.6007 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/0.4849, allocations: 237.5 kB / 0.6009 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-05/0.485, allocations: 31.98 kB / 0.6009 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005465/0.4905, allocations: 3.561 MB / 0.6044 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4905, allocations: 4.031 kB / 0.6044 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004483/0.495, allocations: 1.604 MB / 0.606 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.4953, allocations: 103.5 kB / 0.6061 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.4955, allocations: 16 kB / 0.6061 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.4961, allocations: 24 kB / 0.6061 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.4963, allocations: 84.78 kB / 0.6062 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.693e-05/0.4964, allocations: 39.98 kB / 0.6062 GB, free: 15.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001193/0.4975, allocations: 0.9297 MB / 0.6071 GB, free: 14.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4975, allocations: 0 / 0.6071 GB, free: 14.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002945/0.5005, allocations: 0.8491 MB / 0.608 GB, free: 13.71 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,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.00719/0.5077, allocations: 3.067 MB / 0.611 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.5103, allocations: 1.353 MB / 0.6123 GB, free: 9.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5103, allocations: 7.875 kB / 0.6123 GB, free: 9.211 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.5115, allocations: 0.6557 MB / 0.6129 GB, free: 8.531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.5129, allocations: 229.7 kB / 0.6131 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/0.5346, allocations: 10.67 MB / 0.6236 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009444/0.5356, allocations: 1.081 MB / 0.6246 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001003/0.5366, allocations: 263.9 kB / 0.6249 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008519/0.5374, allocations: 0.5417 MB / 0.6254 GB, free: 11.13 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5374, allocations: 0 / 0.6254 GB, free: 11.13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09074/0.6282, allocations: 40.11 MB / 0.6646 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/17.59, allocations: 10.38 kB / 0.6646 GB, free: 3.27 MB / 0.4981 GB " [Timeout remaining time 642] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.448179626953788] Failed to read output from testmodel.py, exit status != 0: 17.790358043042943 17.820054656 17.414044822 Calling exit ...