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.001375/0.001375, allocations: 101.3 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.001615/0.001615, allocations: 219.1 kB / 23.03 MB, free: 4.945 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.491/1.491, 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.1415/0.1415, allocations: 23.9 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.GasSolubility,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility",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.002201/0.002201, allocations: 67.84 kB / 471.9 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3142, allocations: 59.87 MB / 0.5193 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009704/0.324, allocations: 9.099 MB / 0.5282 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04296/0.3669, allocations: 28.95 MB / 0.5565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.3691, allocations: 36.03 kB / 0.5565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002599/0.3717, allocations: 0.625 MB / 0.5571 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.3818, allocations: 2.616 MB / 0.5597 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01506/0.3968, allocations: 4.37 MB / 0.564 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004913/0.4017, allocations: 3.023 MB / 0.5669 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.4043, allocations: 1.362 MB / 0.5683 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.4077, allocations: 1.492 MB / 0.5697 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003995/0.4117, allocations: 1.631 MB / 0.5713 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.4128, allocations: 264 kB / 0.5716 GB, free: 4.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/0.4249, allocations: 3.526 MB / 0.575 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.426, allocations: 0.5997 MB / 0.5756 GB, free: 24 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002556/0.4286, allocations: 1.128 MB / 0.5767 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0181/0.4466, allocations: 6.801 MB / 0.5833 GB, free: 8.062 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.4467, allocations: 4 kB / 0.5833 GB, free: 8.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4467, allocations: 4 kB / 0.5833 GB, free: 8.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000139/0.4468, allocations: 0 / 0.5833 GB, free: 8.055 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.008137/0.4549, allocations: 3.227 MB / 0.5865 GB, free: 4.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.455, allocations: 8.031 kB / 0.5865 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.088e-05/0.4551, allocations: 56.42 kB / 0.5865 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000624/0.4557, allocations: 291.9 kB / 0.5868 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.4588, allocations: 0.5804 MB / 0.5874 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.4615, allocations: 1.085 MB / 0.5885 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.4617, allocations: 160.5 kB / 0.5886 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000687/0.4624, allocations: 216.3 kB / 0.5888 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006778/0.4692, allocations: 2.814 MB / 0.5916 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.331e-05/0.4693, allocations: 4 kB / 0.5916 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004531/0.4697, allocations: 88 kB / 0.5916 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.4698, allocations: 55.94 kB / 0.5917 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007931/0.4777, allocations: 3.827 MB / 0.5954 GB, free: 11.45 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.01911/0.4968, allocations: 6.978 MB / 0.6023 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007267/0.5041, allocations: 3.253 MB / 0.6054 GB, free: 1.094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/0.5062, allocations: 0.9153 MB / 0.6063 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/0.52, allocations: 4.685 MB / 0.6109 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.5201, allocations: 55.81 kB / 0.611 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008941/0.521, allocations: 186.6 kB / 0.6111 GB, free: 11.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 6.242e-06/0.521, allocations: 0 / 0.6111 GB, free: 11.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03477/0.5557, allocations: 6.185 MB / 0.6172 GB, free: 4.992 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.5558, allocations: 69.41 kB / 0.6172 GB, free: 4.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.5584, allocations: 1.687 MB / 0.6189 GB, free: 3.211 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002763/0.5587, allocations: 57.7 kB / 0.6189 GB, free: 3.148 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008854/0.5596, allocations: 1.073 MB / 0.62 GB, free: 2.062 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008028/0.5604, allocations: 0.6236 MB / 0.6206 GB, free: 1.434 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009496/0.5613, allocations: 476.8 kB / 0.6211 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5615, allocations: 313.1 kB / 0.6213 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.563, allocations: 0.8092 MB / 0.6221 GB, free: 15.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.5654, allocations: 1.604 MB / 0.6237 GB, free: 13.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.5696, allocations: 2.428 MB / 0.6261 GB, free: 11.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-05/0.5696, allocations: 8 kB / 0.6261 GB, free: 11.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01077/0.5804, allocations: 3.148 MB / 0.6292 GB, free: 7.902 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.5804, allocations: 16 kB / 0.6292 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.616e-05/0.5805, allocations: 28 kB / 0.6292 GB, free: 7.859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004379/0.5849, allocations: 491 kB / 0.6297 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.5873, allocations: 0.585 MB / 0.6302 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.6001, allocations: 7.243 MB / 0.6373 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.6023, allocations: 80 kB / 0.6374 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000558/0.6028, allocations: 148 kB / 0.6375 GB, free: 14.87 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.001233/0.6041, allocations: 420.9 kB / 0.6379 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006066/0.6047, allocations: 178.9 kB / 0.6381 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009206/0.6139, allocations: 2.4 MB / 0.6404 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/0.6139, allocations: 16 kB / 0.6405 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.6139, allocations: 0 / 0.6405 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/0.614, allocations: 7.969 kB / 0.6405 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.6174, allocations: 1.589 MB / 0.642 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.6174, allocations: 4 kB / 0.642 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.619, allocations: 339.6 kB / 0.6424 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004336/0.6234, allocations: 463.1 kB / 0.6428 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/0.6237, allocations: 63.97 kB / 0.6429 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.6352, allocations: 7.048 MB / 0.6497 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.6352, allocations: 7.938 kB / 0.6497 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009823/0.645, allocations: 2.996 MB / 0.6527 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/0.6455, allocations: 170.8 kB / 0.6528 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004872/0.646, allocations: 36 kB / 0.6529 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.6472, allocations: 40 kB / 0.6529 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/0.6477, allocations: 161.6 kB / 0.6531 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/0.6479, allocations: 71.97 kB / 0.6531 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001732/0.6497, allocations: 1.149 MB / 0.6543 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6497, allocations: 0 / 0.6543 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00476/0.6544, allocations: 1.383 MB / 0.6556 GB, free: 11.73 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.01407/0.6685, allocations: 4.983 MB / 0.6605 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005242/0.6737, allocations: 2.399 MB / 0.6628 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.6737, allocations: 4 kB / 0.6628 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/0.6763, allocations: 1.281 MB / 0.6641 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.6787, allocations: 363.1 kB / 0.6644 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03982/0.7185, allocations: 16.58 MB / 0.6806 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.7197, allocations: 0.8141 MB / 0.6814 GB, free: 88 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001959/0.7217, allocations: 445.6 kB / 0.6818 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/0.7234, allocations: 0.9516 MB / 0.6828 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.7234, allocations: 0 / 0.6828 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3616/1.085, allocations: 66.09 MB / 0.7473 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.72/22.81, allocations: 11.78 kB / 0.7473 GB, free: 178.1 MB / 0.5606 GB " [Timeout remaining time 637] (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: 25.66089794994332] Failed to read output from testmodel.py, exit status != 0: 23.02366034197621 23.042407762 22.591768447 Calling exit ...