Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001284/0.001284, allocations: 97.31 kB / 19.73 MB, free: 2.145 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.00147/0.00147, allocations: 220.4 kB / 23.03 MB, free: 4.953 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.521/1.521, 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 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.145/0.145, allocations: 23.88 MB / 337.1 MB, free: 10.98 MB / 270.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,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility,fileNamePrefix="Chemical_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.002076/0.002076, allocations: 68.19 kB / 471.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 59.86 MB / 0.5193 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.009122/0.3378, allocations: 9.111 MB / 0.5282 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04097/0.3788, allocations: 28.95 MB / 0.5565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.3811, allocations: 32.03 kB / 0.5565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.3833, allocations: 0.6368 MB / 0.5571 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009578/0.3929, allocations: 2.611 MB / 0.5597 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01363/0.4065, allocations: 4.37 MB / 0.5639 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004599/0.4111, allocations: 3.016 MB / 0.5669 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.4131, allocations: 1.37 MB / 0.5682 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.4158, allocations: 1.48 MB / 0.5697 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.4189, allocations: 1.639 MB / 0.5713 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005163/0.4194, allocations: 264 kB / 0.5715 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01185/0.4312, allocations: 3.526 MB / 0.5749 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.4327, allocations: 0.6037 MB / 0.5755 GB, free: 80 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.4348, allocations: 1.125 MB / 0.5766 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.4515, allocations: 6.801 MB / 0.5833 GB, free: 8.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4516, allocations: 4 kB / 0.5833 GB, free: 8.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4516, allocations: 0 / 0.5833 GB, free: 8.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001187/0.4517, allocations: 0 / 0.5833 GB, free: 8.117 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.00743/0.4591, allocations: 3.235 MB / 0.5864 GB, free: 4.828 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4592, allocations: 8.031 kB / 0.5864 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.769e-05/0.4592, allocations: 56.42 kB / 0.5865 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.4596, allocations: 295.8 kB / 0.5868 GB, free: 4.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.4624, allocations: 0.5804 MB / 0.5873 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.4645, allocations: 1.085 MB / 0.5884 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.4647, allocations: 156.6 kB / 0.5886 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004056/0.4651, allocations: 220.3 kB / 0.5888 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004852/0.4699, allocations: 2.814 MB / 0.5915 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.47, allocations: 4 kB / 0.5915 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.4702, allocations: 84 kB / 0.5916 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.4703, allocations: 52 kB / 0.5916 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006092/0.4763, allocations: 3.831 MB / 0.5954 GB, free: 11.51 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.01386/0.4902, allocations: 6.978 MB / 0.6022 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006146/0.4964, allocations: 3.253 MB / 0.6054 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.498, allocations: 0.9114 MB / 0.6063 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/0.5099, allocations: 4.678 MB / 0.6108 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.51, allocations: 51.88 kB / 0.6109 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007967/0.5108, allocations: 190.6 kB / 0.6111 GB, free: 11.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.929e-06/0.5108, allocations: 0 / 0.6111 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.03152/0.5423, allocations: 6.189 MB / 0.6171 GB, free: 5.055 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.5424, allocations: 73.41 kB / 0.6172 GB, free: 4.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.5446, allocations: 1.691 MB / 0.6188 GB, free: 3.266 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.5448, allocations: 57.7 kB / 0.6189 GB, free: 3.203 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008169/0.5456, allocations: 1.069 MB / 0.6199 GB, free: 2.121 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006196/0.5462, allocations: 0.6198 MB / 0.6205 GB, free: 1.496 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007284/0.5469, allocations: 476.8 kB / 0.621 GB, free: 1.023 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5471, allocations: 317.1 kB / 0.6213 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.5485, allocations: 0.8053 MB / 0.6221 GB, free: 15.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002163/0.5507, allocations: 1.608 MB / 0.6237 GB, free: 13.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003576/0.5542, allocations: 2.424 MB / 0.626 GB, free: 11.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.5543, allocations: 8 kB / 0.626 GB, free: 11.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009082/0.5633, allocations: 3.148 MB / 0.6291 GB, free: 7.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.5634, allocations: 19.94 kB / 0.6291 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.983e-05/0.5634, allocations: 28 kB / 0.6291 GB, free: 7.922 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00429/0.5677, allocations: 487.1 kB / 0.6296 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.5699, allocations: 0.5889 MB / 0.6302 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.5816, allocations: 7.243 MB / 0.6373 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/0.5837, allocations: 83.98 kB / 0.6373 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.5839, allocations: 139.9 kB / 0.6375 GB, free: 14.93 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.0008468/0.5848, allocations: 428.9 kB / 0.6379 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.5852, allocations: 174.9 kB / 0.6381 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008366/0.5936, allocations: 2.392 MB / 0.6404 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-05/0.5936, allocations: 19.94 kB / 0.6404 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.5936, allocations: 0 / 0.6404 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/0.5936, allocations: 15.95 kB / 0.6404 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002945/0.5966, allocations: 1.581 MB / 0.642 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.5966, allocations: 4.047 kB / 0.642 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.598, allocations: 347.5 kB / 0.6423 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004146/0.6022, allocations: 455.2 kB / 0.6427 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002836/0.6025, allocations: 63.97 kB / 0.6428 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.6135, allocations: 7.056 MB / 0.6497 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.6135, allocations: 8 kB / 0.6497 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008945/0.6224, allocations: 3.004 MB / 0.6526 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.6229, allocations: 162.8 kB / 0.6528 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.6231, allocations: 36 kB / 0.6528 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009665/0.6241, allocations: 44 kB / 0.6529 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/0.6245, allocations: 153.7 kB / 0.653 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/0.6246, allocations: 75.97 kB / 0.6531 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001532/0.6261, allocations: 1.149 MB / 0.6542 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6261, allocations: 0 / 0.6542 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003904/0.63, allocations: 1.379 MB / 0.6555 GB, free: 11.79 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.01244/0.6425, allocations: 4.999 MB / 0.6604 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004908/0.6474, allocations: 2.395 MB / 0.6628 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.6474, allocations: 4 kB / 0.6628 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.6496, allocations: 1.276 MB / 0.664 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.6514, allocations: 361.3 kB / 0.6644 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/0.6874, allocations: 16.58 MB / 0.6806 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/0.6883, allocations: 0.8102 MB / 0.6813 GB, free: 152 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001709/0.6901, allocations: 449.6 kB / 0.6818 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/0.6915, allocations: 0.9517 MB / 0.6827 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of SimCode: time 1.343e-06/0.6915, allocations: 0 / 0.6827 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.349/1.04, allocations: 66.1 MB / 0.7473 GB, free: 178.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.77/21.81, allocations: 5.656 kB / 0.7473 GB, free: 178.2 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.GasSolubility.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_GasSolubility_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_GasSolubility.fmu > Chemical_Chemical.Obsolete.Examples.GasSolubility.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.675844741985202] Failed to read output from testmodel.py, exit status != 0: 22.022491639014333 22.036013847 21.581308035 Calling exit ...