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.001887/0.001887, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002463/0.002463, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.738 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.1381/0.1381, allocations: 23.99 MB / 336.4 MB, free: 10.83 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.002357/0.002357, allocations: 63.91 kB / 471.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2938, allocations: 59.89 MB / 0.5187 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility): time 0.01087/0.3047, allocations: 9.114 MB / 0.5276 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03919/0.3439, allocations: 28.97 MB / 0.5559 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003135/0.347, allocations: 36.06 kB / 0.5559 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002812/0.3498, allocations: 0.6242 MB / 0.5566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00972/0.3595, allocations: 2.62 MB / 0.5591 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01417/0.3737, allocations: 4.37 MB / 0.5634 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004961/0.3787, allocations: 3.019 MB / 0.5663 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.3807, allocations: 1.343 MB / 0.5676 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.3832, allocations: 1.482 MB / 0.5691 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.386, allocations: 1.459 MB / 0.5705 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005138/0.3865, allocations: 264 kB / 0.5708 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.3973, allocations: 3.436 MB / 0.5741 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.3983, allocations: 0.6076 MB / 0.5747 GB, free: 88 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.4003, allocations: 1.124 MB / 0.5758 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02039/0.4207, allocations: 6.813 MB / 0.5825 GB, free: 8.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4207, allocations: 0 / 0.5825 GB, free: 8.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4207, allocations: 0 / 0.5825 GB, free: 8.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000116/0.4208, allocations: 0 / 0.5825 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.007441/0.4282, allocations: 3.223 MB / 0.5856 GB, free: 4.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4283, allocations: 8.031 kB / 0.5856 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000374/0.4287, allocations: 291.9 kB / 0.5859 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.4313, allocations: 0.588 MB / 0.5865 GB, free: 3.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.4337, allocations: 1.081 MB / 0.5875 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.4339, allocations: 164.6 kB / 0.5877 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004043/0.4343, allocations: 224.2 kB / 0.5879 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004975/0.4393, allocations: 2.818 MB / 0.5907 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.512e-05/0.4393, allocations: 0 / 0.5907 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/0.4395, allocations: 84 kB / 0.5907 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.4396, allocations: 52 kB / 0.5908 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006423/0.446, allocations: 3.799 MB / 0.5945 GB, free: 11.6 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.01607/0.4621, allocations: 6.963 MB / 0.6013 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006341/0.4684, allocations: 3.249 MB / 0.6045 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.4701, allocations: 0.9114 MB / 0.6054 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.4826, allocations: 4.693 MB / 0.6099 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.4827, allocations: 47.88 kB / 0.61 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006656/0.4833, allocations: 182.6 kB / 0.6102 GB, free: 11.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=138): time 4.288e-06/0.4833, allocations: 0 / 0.6102 GB, free: 11.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=170): time 0.02909/0.5124, allocations: 6.182 MB / 0.6162 GB, free: 5.168 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.5125, allocations: 69.41 kB / 0.6163 GB, free: 5.086 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.5148, allocations: 1.745 MB / 0.618 GB, free: 3.328 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.5151, allocations: 57.7 kB / 0.618 GB, free: 3.266 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008865/0.516, allocations: 1.077 MB / 0.6191 GB, free: 2.176 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007206/0.5167, allocations: 0.6159 MB / 0.6197 GB, free: 1.555 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007089/0.5174, allocations: 480.8 kB / 0.6201 GB, free: 1.078 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5175, allocations: 305.1 kB / 0.6204 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.519, allocations: 0.8092 MB / 0.6212 GB, free: 15.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.5213, allocations: 1.608 MB / 0.6228 GB, free: 13.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.525, allocations: 2.421 MB / 0.6252 GB, free: 11.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.525, allocations: 8 kB / 0.6252 GB, free: 11.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008839/0.5339, allocations: 3.156 MB / 0.6282 GB, free: 8.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.5339, allocations: 16 kB / 0.6283 GB, free: 8.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.572e-05/0.534, allocations: 31.92 kB / 0.6283 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/0.5377, allocations: 483.1 kB / 0.6287 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.5401, allocations: 0.5928 MB / 0.6293 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.5518, allocations: 7.25 MB / 0.6364 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.5537, allocations: 80 kB / 0.6365 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/0.554, allocations: 140 kB / 0.6366 GB, free: 14.99 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.0008635/0.5549, allocations: 421.4 kB / 0.637 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.5553, allocations: 178.8 kB / 0.6372 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007796/0.5631, allocations: 2.393 MB / 0.6395 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/0.5631, allocations: 16 kB / 0.6395 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.5632, allocations: 4 kB / 0.6395 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.5632, allocations: 7.969 kB / 0.6396 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.5665, allocations: 1.585 MB / 0.6411 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.5665, allocations: 7.938 kB / 0.6411 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.5679, allocations: 343.8 kB / 0.6414 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003702/0.5716, allocations: 462.9 kB / 0.6419 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/0.5719, allocations: 59.97 kB / 0.6419 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.583, allocations: 7.048 MB / 0.6488 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.583, allocations: 4.031 kB / 0.6488 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008775/0.5917, allocations: 3.008 MB / 0.6518 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.5923, allocations: 174.6 kB / 0.6519 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.5926, allocations: 39.98 kB / 0.652 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.5935, allocations: 40 kB / 0.652 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/0.5939, allocations: 153.7 kB / 0.6521 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.594, allocations: 71.98 kB / 0.6522 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00157/0.5956, allocations: 1.153 MB / 0.6533 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5956, allocations: 0 / 0.6533 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003991/0.5996, allocations: 1.383 MB / 0.6547 GB, free: 11.84 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.01172/0.6113, allocations: 4.995 MB / 0.6596 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004684/0.616, allocations: 2.391 MB / 0.6619 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.616, allocations: 1 kB / 0.6619 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.6182, allocations: 1.275 MB / 0.6632 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.62, allocations: 368 kB / 0.6635 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/0.6537, allocations: 16.58 MB / 0.6797 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009651/0.6547, allocations: 0.8063 MB / 0.6805 GB, free: 216 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001784/0.6564, allocations: 445.7 kB / 0.6809 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/0.6579, allocations: 0.9517 MB / 0.6818 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.6579, allocations: 0 / 0.6818 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.343/1.001, allocations: 65.67 MB / 0.746 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.12, allocations: 8.203 kB / 0.746 GB, free: 177.8 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.887913818005472] Failed to read output from testmodel.py, exit status != 0: 17.282969592604786 17.295210535 16.871698289 Calling exit ...