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.001629/0.001629, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002156/0.002156, allocations: 217.6 kB / 22.25 MB, free: 4.852 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.797 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.1413/0.1413, allocations: 23.88 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.002181/0.002181, allocations: 67.91 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3066, allocations: 59.86 MB / 0.5185 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.006477/0.3131, allocations: 6.268 MB / 0.5246 GB, free: 5.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0236/0.3367, allocations: 19.19 MB / 0.5434 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.3378, allocations: 21.12 kB / 0.5434 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.3391, allocations: 411.8 kB / 0.5438 GB, free: 8.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005159/0.3443, allocations: 1.629 MB / 0.5454 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01049/0.3547, allocations: 2.857 MB / 0.5482 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.3586, allocations: 1.825 MB / 0.55 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.3604, allocations: 0.7588 MB / 0.5507 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.3622, allocations: 0.8663 MB / 0.5515 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.3641, allocations: 0.8544 MB / 0.5524 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004132/0.3645, allocations: 156.7 kB / 0.5525 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008229/0.3727, allocations: 2.198 MB / 0.5547 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006192/0.3733, allocations: 364.9 kB / 0.555 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.375, allocations: 0.6719 MB / 0.5557 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.3874, allocations: 4.235 MB / 0.5598 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3874, allocations: 0 / 0.5598 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.3874, allocations: 1.125 kB / 0.5598 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.621e-05/0.3874, allocations: 0 / 0.5598 GB, free: 15.13 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.004449/0.3919, allocations: 2.057 MB / 0.5618 GB, free: 13.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3919, allocations: 12.02 kB / 0.5618 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002236/0.3921, allocations: 178 kB / 0.562 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.3938, allocations: 391.3 kB / 0.5624 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.3953, allocations: 0.7041 MB / 0.5631 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-05/0.3954, allocations: 90.84 kB / 0.5632 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.3956, allocations: 128.3 kB / 0.5633 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/0.3985, allocations: 1.783 MB / 0.565 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.3986, allocations: 0 / 0.565 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.3987, allocations: 48 kB / 0.5651 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.3987, allocations: 32 kB / 0.5651 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003881/0.4026, allocations: 2.493 MB / 0.5675 GB, free: 7.387 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.008794/0.4114, allocations: 4.335 MB / 0.5718 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.415, allocations: 1.843 MB / 0.5736 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009077/0.4159, allocations: 495.2 kB / 0.574 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006871/0.4228, allocations: 2.703 MB / 0.5767 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.4228, allocations: 39.22 kB / 0.5767 GB, free: 13.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 2.686e-06/0.4229, allocations: 0 / 0.5767 GB, free: 13.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01529/0.4381, allocations: 3.239 MB / 0.5799 GB, free: 10.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.4382, allocations: 60.41 kB / 0.5799 GB, free: 10.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.44, allocations: 1.354 MB / 0.5813 GB, free: 9.137 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.889e-05/0.4401, allocations: 45.64 kB / 0.5813 GB, free: 9.086 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.4406, allocations: 0.6944 MB / 0.582 GB, free: 8.383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.441, allocations: 349.1 kB / 0.5823 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.4414, allocations: 291.4 kB / 0.5826 GB, free: 7.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.4416, allocations: 361.8 kB / 0.5829 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008806/0.4425, allocations: 0.5232 MB / 0.5834 GB, free: 6.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.4438, allocations: 1.008 MB / 0.5844 GB, free: 5.641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.446, allocations: 1.441 MB / 0.5858 GB, free: 3.977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.446, allocations: 8 kB / 0.5858 GB, free: 3.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004896/0.4509, allocations: 1.928 MB / 0.5877 GB, free: 2.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4509, allocations: 12 kB / 0.5877 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.4509, allocations: 16 kB / 0.5878 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.4529, allocations: 253.5 kB / 0.588 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.4541, allocations: 351.5 kB / 0.5883 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/0.46, allocations: 3.642 MB / 0.5919 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4611, allocations: 48 kB / 0.5919 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.4613, allocations: 83.97 kB / 0.592 GB, free: 13.41 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.0005208/0.4618, allocations: 285.3 kB / 0.5923 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.4621, allocations: 115.2 kB / 0.5924 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.4661, allocations: 1.248 MB / 0.5936 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4661, allocations: 8 kB / 0.5936 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4661, allocations: 0 / 0.5936 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4661, allocations: 3.984 kB / 0.5936 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.4677, allocations: 0.9369 MB / 0.5945 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.4677, allocations: 4 kB / 0.5945 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.4685, allocations: 179.7 kB / 0.5947 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.4704, allocations: 233.5 kB / 0.5949 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/0.4705, allocations: 35.98 kB / 0.595 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005466/0.4759, allocations: 3.522 MB / 0.5984 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4759, allocations: 0 / 0.5984 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004696/0.4806, allocations: 1.604 MB / 0.6 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.481, allocations: 103.3 kB / 0.6001 GB, free: 4.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.4812, allocations: 20 kB / 0.6001 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.4818, allocations: 20 kB / 0.6001 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/0.482, allocations: 88.73 kB / 0.6002 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.482, allocations: 31.98 kB / 0.6002 GB, free: 4.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.4832, allocations: 0.9336 MB / 0.6011 GB, free: 3.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4832, allocations: 0 / 0.6011 GB, free: 3.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002998/0.4862, allocations: 0.8491 MB / 0.602 GB, free: 2.855 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.007111/0.4933, allocations: 3.068 MB / 0.605 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002593/0.4959, allocations: 1.361 MB / 0.6063 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4959, allocations: 0 / 0.6063 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.4971, allocations: 0.659 MB / 0.6069 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.4984, allocations: 222.5 kB / 0.6072 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.5182, allocations: 10.65 MB / 0.6176 GB, free: 2.195 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/0.5189, allocations: 0.4962 MB / 0.618 GB, free: 1.664 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00102/0.5199, allocations: 259.9 kB / 0.6183 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008364/0.5207, allocations: 0.5417 MB / 0.6188 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5207, allocations: 0 / 0.6188 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08967/0.6104, allocations: 40.71 MB / 0.6586 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.16, allocations: 9.641 kB / 0.6586 GB, free: 8.496 MB / 0.4981 GB " [Timeout remaining time 645] (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: 17.872904595918953] Failed to read output from testmodel.py, exit status != 0: 15.305455881170928 15.331784662 14.93889531 Calling exit ...