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.00141/0.00141, allocations: 113 kB / 18.94 MB, free: 2.934 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.001587/0.001587, allocations: 209.1 kB / 22.25 MB, free: 5.086 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8.031 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.1403/0.1403, allocations: 23.85 MB / 336.3 MB, free: 11.21 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.002084/0.002084, allocations: 68.09 kB / 471.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3363, allocations: 59.86 MB / 0.5186 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006699/0.343, allocations: 7.077 MB / 0.5255 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02599/0.369, allocations: 21.95 MB / 0.5469 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.3701, allocations: 22.25 kB / 0.5469 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.3717, allocations: 451.4 kB / 0.5474 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005624/0.3773, allocations: 1.675 MB / 0.549 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009121/0.3864, allocations: 2.845 MB / 0.5518 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003393/0.3898, allocations: 1.831 MB / 0.5536 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.3913, allocations: 0.7748 MB / 0.5543 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.3929, allocations: 0.8711 MB / 0.5552 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.3948, allocations: 0.9516 MB / 0.5561 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004468/0.3952, allocations: 160.8 kB / 0.5563 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009169/0.4044, allocations: 2.342 MB / 0.5585 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007207/0.4051, allocations: 364.5 kB / 0.5589 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.4072, allocations: 0.7934 MB / 0.5597 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.4211, allocations: 4.262 MB / 0.5638 GB, free: 10.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4211, allocations: 0 / 0.5638 GB, free: 10.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4211, allocations: 1.188 kB / 0.5638 GB, free: 10.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001033/0.4212, allocations: 0 / 0.5638 GB, free: 10.88 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.007163/0.4283, allocations: 2.056 MB / 0.5658 GB, free: 9.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.4284, allocations: 9.625 kB / 0.5658 GB, free: 9.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004643/0.4289, allocations: 181.1 kB / 0.566 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.431, allocations: 389.5 kB / 0.5664 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.4331, allocations: 0.6964 MB / 0.5671 GB, free: 8.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.4332, allocations: 94.84 kB / 0.5672 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003358/0.4335, allocations: 124.3 kB / 0.5673 GB, free: 8.031 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.4369, allocations: 1.783 MB / 0.569 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.4369, allocations: 3.938 kB / 0.569 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.437, allocations: 56 kB / 0.5691 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.4371, allocations: 28 kB / 0.5691 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00405/0.4411, allocations: 2.52 MB / 0.5716 GB, free: 3.594 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.0106/0.4517, allocations: 5.086 MB / 0.5765 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.4554, allocations: 1.882 MB / 0.5784 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008925/0.4563, allocations: 0.4908 MB / 0.5788 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007276/0.4636, allocations: 2.874 MB / 0.5817 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.4636, allocations: 39.22 kB / 0.5817 GB, free: 8.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.805e-06/0.4636, allocations: 7.938 kB / 0.5817 GB, free: 8.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01614/0.4797, allocations: 3.226 MB / 0.5849 GB, free: 5.715 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.4798, allocations: 60.41 kB / 0.5849 GB, free: 5.645 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.4818, allocations: 1.323 MB / 0.5862 GB, free: 4.297 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.4819, allocations: 41.7 kB / 0.5862 GB, free: 4.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006047/0.4825, allocations: 0.7022 MB / 0.5869 GB, free: 3.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.4828, allocations: 337.2 kB / 0.5872 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004978/0.4833, allocations: 287.4 kB / 0.5875 GB, free: 2.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.4836, allocations: 361.9 kB / 0.5879 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009792/0.4845, allocations: 0.5232 MB / 0.5884 GB, free: 2.035 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.486, allocations: 1.008 MB / 0.5894 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.4883, allocations: 1.445 MB / 0.5908 GB, free: 15.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.4883, allocations: 4 kB / 0.5908 GB, free: 15.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005813/0.4941, allocations: 1.936 MB / 0.5927 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.4942, allocations: 12 kB / 0.5927 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.4942, allocations: 16 kB / 0.5927 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/0.4964, allocations: 249.5 kB / 0.5929 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.4977, allocations: 355.5 kB / 0.5933 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006517/0.5042, allocations: 3.664 MB / 0.5968 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.5056, allocations: 48 kB / 0.5969 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/0.506, allocations: 87.91 kB / 0.597 GB, free: 8.547 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.0007484/0.5067, allocations: 293.9 kB / 0.5973 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.5071, allocations: 115.2 kB / 0.5974 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004376/0.5115, allocations: 1.244 MB / 0.5986 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5115, allocations: 12 kB / 0.5986 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.5115, allocations: 3.984 kB / 0.5986 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5115, allocations: 3.984 kB / 0.5986 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.5135, allocations: 1.066 MB / 0.5996 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.5135, allocations: 0 / 0.5996 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.5143, allocations: 183.8 kB / 0.5998 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/0.5163, allocations: 233.5 kB / 0.6 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/0.5165, allocations: 27.98 kB / 0.6001 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006274/0.5227, allocations: 3.557 MB / 0.6035 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.5227, allocations: 7.922 kB / 0.6035 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004954/0.5277, allocations: 1.604 MB / 0.6051 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/0.5281, allocations: 103.3 kB / 0.6052 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.5284, allocations: 28 kB / 0.6052 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/0.5291, allocations: 16 kB / 0.6053 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.5293, allocations: 84.73 kB / 0.6053 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.5293, allocations: 39.98 kB / 0.6054 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001295/0.5306, allocations: 0.9297 MB / 0.6063 GB, free: 14.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5306, allocations: 0 / 0.6063 GB, free: 14.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003103/0.5337, allocations: 0.8491 MB / 0.6071 GB, free: 13.81 MB / 462.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.007749/0.5415, allocations: 3.071 MB / 0.6101 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.5444, allocations: 1.36 MB / 0.6114 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.5444, allocations: 0 / 0.6114 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.5456, allocations: 0.6473 MB / 0.6121 GB, free: 8.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.5471, allocations: 227.6 kB / 0.6123 GB, free: 8.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/0.5684, allocations: 10.67 MB / 0.6227 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009043/0.5693, allocations: 1.081 MB / 0.6238 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.5703, allocations: 255.9 kB / 0.624 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008883/0.5712, allocations: 0.5533 MB / 0.6245 GB, free: 11.23 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5712, allocations: 0 / 0.6245 GB, free: 11.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09991/0.6711, allocations: 40.09 MB / 0.6637 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/17.45, allocations: 3.625 kB / 0.6637 GB, free: 3.391 MB / 0.4981 GB " [Timeout remaining time 642] (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: 20.23427388514392] Failed to read output from testmodel.py, exit status != 0: 17.595911568030715 17.626817545 17.199440869 Calling exit ...