Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.GasSolubility.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.001228/0.001228, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001457/0.001457, allocations: 218.9 kB / 22.24 MB, free: 5.258 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.793 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.1347/0.1347, allocations: 23.94 MB / 336.4 MB, free: 10.98 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.GasSolubility,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",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.001947/0.001947, allocations: 67.89 kB / 471.2 MB, free: 7.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3367, allocations: 59.88 MB / 0.5186 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009597/0.3463, allocations: 9.102 MB / 0.5275 GB, free: 3.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03901/0.3853, allocations: 28.97 MB / 0.5558 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.3877, allocations: 31.84 kB / 0.5558 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0026/0.3903, allocations: 0.6361 MB / 0.5564 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009956/0.4003, allocations: 2.616 MB / 0.559 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01546/0.4157, allocations: 4.37 MB / 0.5633 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005315/0.4211, allocations: 3.016 MB / 0.5662 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.4233, allocations: 1.37 MB / 0.5675 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.4258, allocations: 1.482 MB / 0.569 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.429, allocations: 1.647 MB / 0.5706 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005549/0.4296, allocations: 264 kB / 0.5709 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/0.4406, allocations: 3.514 MB / 0.5743 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.4417, allocations: 0.6075 MB / 0.5749 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.4437, allocations: 1.132 MB / 0.576 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01762/0.4613, allocations: 6.801 MB / 0.5826 GB, free: 7.973 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4613, allocations: 0 / 0.5826 GB, free: 7.973 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4613, allocations: 0 / 0.5826 GB, free: 7.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.547e-05/0.4614, allocations: 0 / 0.5826 GB, free: 7.973 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.006912/0.4683, allocations: 3.231 MB / 0.5858 GB, free: 4.688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4684, allocations: 12.03 kB / 0.5858 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003637/0.4687, allocations: 291.9 kB / 0.5861 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.4714, allocations: 0.5841 MB / 0.5866 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00231/0.4737, allocations: 1.077 MB / 0.5877 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.4738, allocations: 164.6 kB / 0.5879 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/0.4742, allocations: 216.3 kB / 0.5881 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/0.4792, allocations: 2.818 MB / 0.5908 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.4792, allocations: 0 / 0.5908 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/0.4794, allocations: 88 kB / 0.5909 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.4795, allocations: 48 kB / 0.5909 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006049/0.4855, allocations: 3.788 MB / 0.5946 GB, free: 11.47 MB / 446.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.0142/0.4997, allocations: 6.982 MB / 0.6015 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005977/0.5057, allocations: 3.267 MB / 0.6046 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.5073, allocations: 0.9114 MB / 0.6055 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/0.5187, allocations: 4.677 MB / 0.6101 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.5187, allocations: 47.88 kB / 0.6102 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006947/0.5194, allocations: 182.6 kB / 0.6103 GB, free: 11.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 3.717e-06/0.5194, allocations: 4 kB / 0.6103 GB, free: 11.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03286/0.5523, allocations: 6.193 MB / 0.6164 GB, free: 5.004 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.5523, allocations: 69.41 kB / 0.6164 GB, free: 4.922 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.5545, allocations: 1.733 MB / 0.6181 GB, free: 3.176 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.5547, allocations: 57.7 kB / 0.6182 GB, free: 3.113 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/0.5555, allocations: 1.077 MB / 0.6192 GB, free: 2.023 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006226/0.5561, allocations: 0.6197 MB / 0.6198 GB, free: 1.398 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007029/0.5568, allocations: 484.8 kB / 0.6203 GB, free: 0.918 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5569, allocations: 305.1 kB / 0.6206 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.5584, allocations: 0.8054 MB / 0.6214 GB, free: 15.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.5605, allocations: 1.612 MB / 0.623 GB, free: 13.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.564, allocations: 2.428 MB / 0.6253 GB, free: 11.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.564, allocations: 8 kB / 0.6253 GB, free: 11.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009263/0.5733, allocations: 3.148 MB / 0.6284 GB, free: 7.863 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.5733, allocations: 19.94 kB / 0.6284 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-05/0.5733, allocations: 24 kB / 0.6285 GB, free: 7.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004439/0.5778, allocations: 491 kB / 0.6289 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.5799, allocations: 0.5889 MB / 0.6295 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.5916, allocations: 7.243 MB / 0.6366 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.5936, allocations: 76 kB / 0.6366 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/0.5938, allocations: 144 kB / 0.6368 GB, free: 14.83 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008267/0.5947, allocations: 425.5 kB / 0.6372 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003929/0.5951, allocations: 174.9 kB / 0.6374 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/0.6033, allocations: 2.393 MB / 0.6397 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.6034, allocations: 20 kB / 0.6397 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6034, allocations: 0 / 0.6397 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.933e-05/0.6034, allocations: 11.95 kB / 0.6397 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.6062, allocations: 1.593 MB / 0.6413 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.6062, allocations: 0 / 0.6413 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.6076, allocations: 343.5 kB / 0.6416 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004341/0.612, allocations: 459.1 kB / 0.642 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.6122, allocations: 59.97 kB / 0.6421 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.6256, allocations: 7.044 MB / 0.649 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.6256, allocations: 7.969 kB / 0.649 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.6387, allocations: 3.004 MB / 0.6519 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/0.6394, allocations: 170.8 kB / 0.6521 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/0.6398, allocations: 39.94 kB / 0.6521 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.6414, allocations: 40 kB / 0.6522 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005455/0.6419, allocations: 157.7 kB / 0.6523 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/0.6421, allocations: 67.97 kB / 0.6524 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002209/0.6444, allocations: 1.149 MB / 0.6535 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6444, allocations: 0 / 0.6535 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006194/0.6506, allocations: 1.387 MB / 0.6549 GB, free: 11.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01674/0.6673, allocations: 4.999 MB / 0.6597 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00656/0.6738, allocations: 2.388 MB / 0.6621 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.6739, allocations: 0 / 0.6621 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003181/0.677, allocations: 1.272 MB / 0.6633 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.6799, allocations: 375.8 kB / 0.6637 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04186/0.7217, allocations: 16.58 MB / 0.6799 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.7229, allocations: 0.8063 MB / 0.6806 GB, free: 56 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001767/0.7247, allocations: 437.5 kB / 0.6811 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/0.7262, allocations: 0.9556 MB / 0.682 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of SimCode: time 1.133e-06/0.7262, allocations: 3.938 kB / 0.682 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3419/1.068, allocations: 66.43 MB / 0.7469 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.93, allocations: 11.73 kB / 0.7469 GB, free: 177.8 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.53657090998604] Failed to read output from testmodel.py, exit status != 0: 16.084599238994997 16.094945712 15.631189558 Calling exit ...