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.00172/0.00172, 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.002369/0.002369, allocations: 216.6 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.805 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.1342/0.1342, allocations: 23.89 MB / 336.3 MB, free: 10.96 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_blood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_blood",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.002078/0.002078, allocations: 71.89 kB / 471.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3127, allocations: 59.86 MB / 0.5185 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006424/0.3191, allocations: 6.268 MB / 0.5246 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02451/0.3436, allocations: 19.19 MB / 0.5434 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.3449, allocations: 22.5 kB / 0.5434 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.3463, allocations: 407.8 kB / 0.5438 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00549/0.3518, allocations: 1.636 MB / 0.5454 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009671/0.3615, allocations: 2.847 MB / 0.5482 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004167/0.3656, allocations: 1.833 MB / 0.55 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.367, allocations: 0.7637 MB / 0.5507 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.3684, allocations: 0.8711 MB / 0.5516 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.3703, allocations: 0.9637 MB / 0.5525 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002469/0.3705, allocations: 156.6 kB / 0.5526 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007171/0.3777, allocations: 2.248 MB / 0.5548 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005482/0.3782, allocations: 368.9 kB / 0.5552 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.3794, allocations: 0.6646 MB / 0.5558 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.3915, allocations: 4.242 MB / 0.56 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3915, allocations: 0 / 0.56 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3915, allocations: 1.094 kB / 0.56 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.861e-05/0.3915, allocations: 0 / 0.56 GB, free: 14.89 MB / 414.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.004678/0.3962, allocations: 2.055 MB / 0.562 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3963, allocations: 8.031 kB / 0.562 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002332/0.3965, allocations: 182 kB / 0.5622 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.3983, allocations: 391.3 kB / 0.5626 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.3999, allocations: 0.6964 MB / 0.5632 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.4, allocations: 94.84 kB / 0.5633 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.4003, allocations: 128.3 kB / 0.5634 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/0.4035, allocations: 1.779 MB / 0.5652 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.4035, allocations: 0 / 0.5652 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.4037, allocations: 52 kB / 0.5652 GB, free: 9.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.4037, allocations: 28 kB / 0.5653 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003977/0.4077, allocations: 2.5 MB / 0.5677 GB, free: 7.234 MB / 414.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.009036/0.4167, allocations: 4.332 MB / 0.5719 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.4204, allocations: 1.835 MB / 0.5737 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009071/0.4213, allocations: 0.49 MB / 0.5742 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006835/0.4282, allocations: 2.711 MB / 0.5768 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.4282, allocations: 39.22 kB / 0.5769 GB, free: 13.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.095e-06/0.4282, allocations: 3.938 kB / 0.5769 GB, free: 13.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01729/0.4455, allocations: 3.236 MB / 0.58 GB, free: 10.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.4456, allocations: 60.41 kB / 0.5801 GB, free: 10.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.4473, allocations: 1.35 MB / 0.5814 GB, free: 8.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.4474, allocations: 41.7 kB / 0.5815 GB, free: 8.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000546/0.448, allocations: 0.7138 MB / 0.5822 GB, free: 8.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.4483, allocations: 333.2 kB / 0.5825 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004441/0.4488, allocations: 295.4 kB / 0.5828 GB, free: 7.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.449, allocations: 361.9 kB / 0.5831 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/0.4498, allocations: 0.5193 MB / 0.5836 GB, free: 6.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.4511, allocations: 1.004 MB / 0.5846 GB, free: 5.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.4532, allocations: 1.449 MB / 0.586 GB, free: 3.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.4532, allocations: 4 kB / 0.586 GB, free: 3.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005152/0.4583, allocations: 1.932 MB / 0.5879 GB, free: 1.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.4584, allocations: 8 kB / 0.5879 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.4584, allocations: 16 kB / 0.5879 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/0.4607, allocations: 257.5 kB / 0.5882 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.462, allocations: 347.5 kB / 0.5885 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.4683, allocations: 3.635 MB / 0.592 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4697, allocations: 51.98 kB / 0.5921 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.4699, allocations: 75.98 kB / 0.5922 GB, free: 13.26 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.0005316/0.4704, allocations: 289.3 kB / 0.5924 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/0.4707, allocations: 119.2 kB / 0.5926 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004434/0.4751, allocations: 1.256 MB / 0.5938 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.4751, allocations: 12 kB / 0.5938 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4752, allocations: 0 / 0.5938 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.4752, allocations: 7.984 kB / 0.5938 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.4769, allocations: 0.9252 MB / 0.5947 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4769, allocations: 0 / 0.5947 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.4776, allocations: 183.7 kB / 0.5949 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/0.4799, allocations: 233.5 kB / 0.5951 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/0.48, allocations: 27.98 kB / 0.5951 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005664/0.4856, allocations: 3.526 MB / 0.5986 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4856, allocations: 4.031 kB / 0.5986 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/0.4905, allocations: 1.596 MB / 0.6001 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.4909, allocations: 107.3 kB / 0.6002 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.4911, allocations: 24 kB / 0.6003 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.4917, allocations: 16 kB / 0.6003 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.4919, allocations: 80.8 kB / 0.6004 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.975e-05/0.492, allocations: 39.98 kB / 0.6004 GB, free: 4.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.4932, allocations: 0.9297 MB / 0.6013 GB, free: 3.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4932, allocations: 0 / 0.6013 GB, free: 3.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002982/0.4962, allocations: 0.8491 MB / 0.6021 GB, free: 2.703 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.00727/0.5035, allocations: 3.076 MB / 0.6051 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002705/0.5062, allocations: 1.361 MB / 0.6065 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5062, allocations: 4.062 kB / 0.6065 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.5073, allocations: 0.6434 MB / 0.6071 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.5086, allocations: 238.2 kB / 0.6073 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/0.53, allocations: 10.66 MB / 0.6177 GB, free: 2.027 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.5306, allocations: 0.4884 MB / 0.6182 GB, free: 1.504 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009519/0.5316, allocations: 259.8 kB / 0.6185 GB, free: 1.254 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/0.5324, allocations: 0.5417 MB / 0.619 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5324, allocations: 4 kB / 0.619 GB, free: 0.707 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09661/0.629, allocations: 41.15 MB / 0.6592 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.38, allocations: 2.578 kB / 0.6592 GB, free: 7.891 MB / 0.4981 GB " [Timeout remaining time 644] (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 os._exit(0), Time elapsed: 18.095218473026762] Failed to read output from testmodel.py, exit status != 0: 15.519742712989682 15.535136225 15.140281618 Calling exit ...