Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001345/0.001345, 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.001473/0.001473, allocations: 214.7 kB / 22.25 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.434/1.434, allocations: 230.6 MB / 256 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.1457/0.1457, allocations: 23.99 MB / 336.4 MB, free: 10.86 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_blood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_master_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.002095/0.002095, allocations: 67.89 kB / 471.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3432, allocations: 59.9 MB / 0.5187 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006949/0.3502, allocations: 6.257 MB / 0.5248 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02641/0.3766, allocations: 19.19 MB / 0.5436 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.378, allocations: 21.97 kB / 0.5436 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.3795, allocations: 406.5 kB / 0.544 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006231/0.3858, allocations: 1.632 MB / 0.5456 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01057/0.3963, allocations: 2.843 MB / 0.5484 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.3997, allocations: 1.834 MB / 0.5502 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.4012, allocations: 0.7526 MB / 0.5509 GB, free: 4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.403, allocations: 0.8755 MB / 0.5517 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.4052, allocations: 0.8608 MB / 0.5526 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.4056, allocations: 152.8 kB / 0.5527 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008644/0.4142, allocations: 2.198 MB / 0.5549 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007421/0.415, allocations: 365 kB / 0.5552 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.4162, allocations: 0.6682 MB / 0.5559 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.4278, allocations: 4.239 MB / 0.56 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4278, allocations: 3.938 kB / 0.56 GB, free: 15.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4278, allocations: 0 / 0.56 GB, free: 15.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.23e-05/0.4278, allocations: 5.062 kB / 0.56 GB, free: 15.06 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.004595/0.4324, allocations: 2.044 MB / 0.562 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4325, allocations: 12.03 kB / 0.562 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/0.4327, allocations: 190 kB / 0.5622 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.4344, allocations: 387.1 kB / 0.5626 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.436, allocations: 0.7002 MB / 0.5633 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.75e-05/0.4361, allocations: 90.84 kB / 0.5634 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.4364, allocations: 136.3 kB / 0.5635 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.4393, allocations: 1.787 MB / 0.5652 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.4394, allocations: 0 / 0.5652 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001281/0.4395, allocations: 52 kB / 0.5653 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.4395, allocations: 28 kB / 0.5653 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/0.4434, allocations: 2.496 MB / 0.5677 GB, free: 7.199 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.008922/0.4524, allocations: 4.331 MB / 0.572 GB, free: 2.785 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.4561, allocations: 1.838 MB / 0.5738 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008876/0.4569, allocations: 490.7 kB / 0.5742 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006753/0.4637, allocations: 2.699 MB / 0.5769 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.4637, allocations: 43.22 kB / 0.5769 GB, free: 13.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.227e-06/0.4637, allocations: 0 / 0.5769 GB, free: 13.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01491/0.4787, allocations: 3.232 MB / 0.5801 GB, free: 10.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4787, allocations: 60.41 kB / 0.5801 GB, free: 10.35 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.4804, allocations: 1.354 MB / 0.5814 GB, free: 8.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.868e-05/0.4805, allocations: 45.7 kB / 0.5815 GB, free: 8.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/0.4811, allocations: 0.7022 MB / 0.5822 GB, free: 8.207 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.4814, allocations: 341.2 kB / 0.5825 GB, free: 7.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.4818, allocations: 283.4 kB / 0.5828 GB, free: 7.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.482, allocations: 361.9 kB / 0.5831 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008896/0.4829, allocations: 0.5232 MB / 0.5836 GB, free: 6.703 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.4843, allocations: 1.012 MB / 0.5846 GB, free: 5.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.4864, allocations: 1.445 MB / 0.586 GB, free: 3.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.4864, allocations: 4 kB / 0.586 GB, free: 3.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005122/0.4915, allocations: 1.936 MB / 0.5879 GB, free: 1.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.4915, allocations: 12 kB / 0.5879 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.4916, allocations: 20 kB / 0.588 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/0.4936, allocations: 245.6 kB / 0.5882 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4949, allocations: 347.5 kB / 0.5885 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006466/0.5013, allocations: 3.646 MB / 0.5921 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.5026, allocations: 47.98 kB / 0.5921 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/0.5027, allocations: 83.98 kB / 0.5922 GB, free: 13.24 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.0005626/0.5033, allocations: 285.3 kB / 0.5925 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.5035, allocations: 119.2 kB / 0.5926 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.5076, allocations: 1.248 MB / 0.5938 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5077, allocations: 8 kB / 0.5938 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5077, allocations: 8 kB / 0.5938 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5077, allocations: 7.922 kB / 0.5938 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.5095, allocations: 0.9328 MB / 0.5947 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5095, allocations: 0 / 0.5947 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007237/0.5103, allocations: 175.8 kB / 0.5949 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/0.5123, allocations: 233.5 kB / 0.5951 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.5124, allocations: 31.98 kB / 0.5952 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00551/0.5179, allocations: 3.53 MB / 0.5986 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5179, allocations: 3.938 kB / 0.5986 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004546/0.5224, allocations: 1.596 MB / 0.6002 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/0.5228, allocations: 103.3 kB / 0.6003 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.5229, allocations: 19.98 kB / 0.6003 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/0.5235, allocations: 20 kB / 0.6003 GB, free: 4.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.5237, allocations: 84.92 kB / 0.6004 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.927e-05/0.5238, allocations: 43.92 kB / 0.6004 GB, free: 4.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001266/0.525, allocations: 0.9297 MB / 0.6013 GB, free: 3.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.525, allocations: 0 / 0.6013 GB, free: 3.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002881/0.5279, allocations: 0.853 MB / 0.6022 GB, free: 2.672 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.006981/0.5349, allocations: 3.068 MB / 0.6052 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002692/0.5376, allocations: 1.36 MB / 0.6065 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5376, allocations: 0 / 0.6065 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.5387, allocations: 0.6434 MB / 0.6071 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.5399, allocations: 228.6 kB / 0.6073 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/0.559, allocations: 10.67 MB / 0.6178 GB, free: 2.004 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.5596, allocations: 496.2 kB / 0.6182 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001006/0.5606, allocations: 267.2 kB / 0.6185 GB, free: 1.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008088/0.5614, allocations: 0.5417 MB / 0.619 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of SimCode: time 6.62e-07/0.5614, allocations: 0 / 0.619 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/0.6733, allocations: 40.72 MB / 0.6588 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.47, allocations: 3.094 kB / 0.6588 GB, free: 8.316 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood_fmu --startTime=0 --stopTime=1e-05 --stepSize=4e-09 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_GasSolubility_blood.fmu > Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.13779899198562] Failed to read output from testmodel.py, exit status != 0: 15.620489852968603 15.647089544 15.214569085 Calling exit ...