Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.00179/0.00179, allocations: 116.8 kB / 17.17 MB, free: 6 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.002165/0.002165, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1463/0.1463, allocations: 23.86 MB / 333.4 MB, free: 1.191 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_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.001957/0.001957, allocations: 69.86 kB / 466.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1091, allocations: 59.82 MB / 0.5142 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.009269/0.1184, allocations: 7.033 MB / 0.521 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02777/0.1462, allocations: 21.88 MB / 0.5424 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.1473, allocations: 19.72 kB / 0.5424 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.1489, allocations: 461 kB / 0.5429 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005605/0.1546, allocations: 1.657 MB / 0.5445 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008342/0.1629, allocations: 2.819 MB / 0.5472 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.166, allocations: 1.826 MB / 0.549 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.1675, allocations: 0.7693 MB / 0.5498 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.169, allocations: 0.8767 MB / 0.5506 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.1707, allocations: 0.9421 MB / 0.5515 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000341/0.171, allocations: 152 kB / 0.5517 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007247/0.1783, allocations: 2.348 MB / 0.554 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.1787, allocations: 370.8 kB / 0.5543 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.1798, allocations: 0.7895 MB / 0.5551 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.1898, allocations: 4.261 MB / 0.5593 GB, free: 14.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1898, allocations: 0 / 0.5593 GB, free: 14.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.038e-06/0.1898, allocations: 4 kB / 0.5593 GB, free: 14.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.1898, allocations: 0 / 0.5593 GB, free: 14.57 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004178/0.194, allocations: 2.124 MB / 0.5613 GB, free: 12.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1941, allocations: 12.03 kB / 0.5613 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.61e-05/0.1941, allocations: 30.66 kB / 0.5614 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.1944, allocations: 182 kB / 0.5616 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.1961, allocations: 391.3 kB / 0.5619 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.1975, allocations: 0.7646 MB / 0.5627 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.1976, allocations: 94.84 kB / 0.5628 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.1978, allocations: 128.3 kB / 0.5629 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.2008, allocations: 1.76 MB / 0.5646 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.2008, allocations: 3.938 kB / 0.5646 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.2009, allocations: 52 kB / 0.5647 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.2009, allocations: 28 kB / 0.5647 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.205, allocations: 2.485 MB / 0.5671 GB, free: 6.371 MB / 430.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.00881/0.2138, allocations: 5.101 MB / 0.5721 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/0.2177, allocations: 2.191 MB / 0.5742 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000875/0.2186, allocations: 494.3 kB / 0.5747 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007871/0.2264, allocations: 5.34 MB / 0.5799 GB, free: 8.355 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.2265, allocations: 39.22 kB / 0.58 GB, free: 8.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=72): time 2.835e-06/0.2265, allocations: 7.938 kB / 0.58 GB, free: 8.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=89): time 0.01534/0.2418, allocations: 3.394 MB / 0.5833 GB, free: 4.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.2419, allocations: 60.41 kB / 0.5833 GB, free: 4.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.2436, allocations: 1.296 MB / 0.5846 GB, free: 3.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/0.2437, allocations: 41.7 kB / 0.5846 GB, free: 3.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005863/0.2443, allocations: 0.6983 MB / 0.5853 GB, free: 2.695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00034/0.2447, allocations: 341.2 kB / 0.5856 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/0.2451, allocations: 287.4 kB / 0.5859 GB, free: 2.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.2453, allocations: 361.9 kB / 0.5863 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008857/0.2462, allocations: 0.5115 MB / 0.5868 GB, free: 1.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2405/0.4867, allocations: 0.9995 MB / 0.5877 GB, free: 66.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/0.4889, allocations: 1.427 MB / 0.5891 GB, free: 65.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.489, allocations: 3.562 kB / 0.5891 GB, free: 65.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005239/0.4942, allocations: 1.908 MB / 0.591 GB, free: 65.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.4942, allocations: 12.97 kB / 0.591 GB, free: 65.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.732e-05/0.4943, allocations: 16.09 kB / 0.591 GB, free: 65.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.4964, allocations: 249.6 kB / 0.5913 GB, free: 65.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.4976, allocations: 351.3 kB / 0.5916 GB, free: 65.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005219/0.5029, allocations: 3.867 MB / 0.5954 GB, free: 62.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.5041, allocations: 49.52 kB / 0.5954 GB, free: 62.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.5043, allocations: 81.53 kB / 0.5955 GB, free: 62.16 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.0005783/0.5049, allocations: 293.2 kB / 0.5958 GB, free: 61.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.5051, allocations: 116.2 kB / 0.5959 GB, free: 61.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/0.5093, allocations: 1.25 MB / 0.5971 GB, free: 61.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.5093, allocations: 12.97 kB / 0.5971 GB, free: 61.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5093, allocations: 4.812 kB / 0.5971 GB, free: 61.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.5093, allocations: 3.766 kB / 0.5971 GB, free: 61.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.511, allocations: 1.091 MB / 0.5982 GB, free: 60.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.511, allocations: 2.375 kB / 0.5982 GB, free: 60.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/0.5117, allocations: 182.3 kB / 0.5984 GB, free: 60.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001969/0.5137, allocations: 231.6 kB / 0.5986 GB, free: 60.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.5138, allocations: 33.66 kB / 0.5986 GB, free: 60.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/0.5184, allocations: 3.771 MB / 0.6023 GB, free: 57.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5184, allocations: 1.719 kB / 0.6023 GB, free: 57.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.5227, allocations: 1.602 MB / 0.6039 GB, free: 56.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.523, allocations: 178.1 kB / 0.604 GB, free: 56.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.5231, allocations: 18.2 kB / 0.6041 GB, free: 56.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/0.5236, allocations: 24.94 kB / 0.6041 GB, free: 56.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.5238, allocations: 78.8 kB / 0.6042 GB, free: 56.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/0.5239, allocations: 36.16 kB / 0.6042 GB, free: 56.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001106/0.525, allocations: 0.9138 MB / 0.6051 GB, free: 56.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.525, allocations: 0 / 0.6051 GB, free: 56.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002606/0.5276, allocations: 0.8497 MB / 0.6059 GB, free: 56.01 MB / 446.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.006072/0.5337, allocations: 3.08 MB / 0.6089 GB, free: 54.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.536, allocations: 1.354 MB / 0.6102 GB, free: 54.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.536, allocations: 2 kB / 0.6103 GB, free: 54.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009228/0.537, allocations: 0.6479 MB / 0.6109 GB, free: 53.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5381, allocations: 222.4 kB / 0.6111 GB, free: 53.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.5537, allocations: 10.6 MB / 0.6214 GB, free: 47.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.5541, allocations: 1.086 MB / 0.6225 GB, free: 46.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009085/0.555, allocations: 263.8 kB / 0.6228 GB, free: 46.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005722/0.5556, allocations: 0.5428 MB / 0.6233 GB, free: 46.29 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5556, allocations: 0 / 0.6233 GB, free: 46.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06633/0.6219, allocations: 39 MB / 0.6614 GB, free: 8.195 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/16.47, allocations: 7.922 kB / 0.6614 GB, free: 8.188 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_blood_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_GasSolubility_blood.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.463248688029125] Failed to read output from testmodel.py, exit status != 0: 16.65044234402012 16.673631489999998 16.478355891 Calling exit ...