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.00131/0.00131, allocations: 97.92 kB / 19.73 MB, free: 1.992 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.001441/0.001441, allocations: 210 kB / 23.02 MB, free: 4.426 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.445/1.445, allocations: 230.6 MB / 256.8 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.1442/0.1442, allocations: 23.89 MB / 337.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_GasSolubility_blood",fmuType="cs",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.002066/0.002066, allocations: 67.91 kB / 471.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 59.86 MB / 0.5193 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007154/0.33, allocations: 6.264 MB / 0.5254 GB, free: 5.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02478/0.3548, allocations: 19.17 MB / 0.5441 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.3564, allocations: 25.44 kB / 0.5441 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.3584, allocations: 407.8 kB / 0.5445 GB, free: 8.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00744/0.3659, allocations: 1.636 MB / 0.5461 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.377, allocations: 2.846 MB / 0.5489 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00376/0.3808, allocations: 1.829 MB / 0.5507 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.3822, allocations: 0.7625 MB / 0.5514 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.3838, allocations: 0.875 MB / 0.5523 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.3858, allocations: 0.9509 MB / 0.5532 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.3862, allocations: 157.9 kB / 0.5534 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008183/0.3944, allocations: 2.255 MB / 0.5556 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006595/0.395, allocations: 364.9 kB / 0.5559 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.3963, allocations: 0.6686 MB / 0.5566 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.4086, allocations: 4.243 MB / 0.5607 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4086, allocations: 0 / 0.5607 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4086, allocations: 0 / 0.5607 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.156e-05/0.4086, allocations: 0 / 0.5607 GB, free: 14.95 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.004577/0.4132, allocations: 2.052 MB / 0.5627 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4132, allocations: 11.97 kB / 0.5627 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.848e-05/0.4133, allocations: 34.66 kB / 0.5628 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002332/0.4135, allocations: 178 kB / 0.5629 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.4153, allocations: 395.3 kB / 0.5633 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.4167, allocations: 0.6964 MB / 0.564 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/0.4168, allocations: 90.84 kB / 0.5641 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.4171, allocations: 132.3 kB / 0.5642 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.42, allocations: 1.783 MB / 0.566 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.4201, allocations: 0 / 0.566 GB, free: 9.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.4202, allocations: 48 kB / 0.566 GB, free: 9.746 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.4202, allocations: 32 kB / 0.566 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/0.4241, allocations: 2.524 MB / 0.5685 GB, free: 7.184 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.008734/0.4328, allocations: 4.324 MB / 0.5727 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003567/0.4364, allocations: 1.843 MB / 0.5745 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008649/0.4373, allocations: 0.4909 MB / 0.575 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006937/0.4442, allocations: 2.707 MB / 0.5776 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.4442, allocations: 39.22 kB / 0.5777 GB, free: 13.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=72): time 3.236e-06/0.4443, allocations: 0 / 0.5777 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.01591/0.4602, allocations: 3.236 MB / 0.5808 GB, free: 10.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.4602, allocations: 60.41 kB / 0.5809 GB, free: 10.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.4619, allocations: 1.323 MB / 0.5822 GB, free: 8.961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.462, allocations: 41.7 kB / 0.5822 GB, free: 8.914 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/0.4625, allocations: 0.7022 MB / 0.5829 GB, free: 8.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.4628, allocations: 337.2 kB / 0.5832 GB, free: 7.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000438/0.4633, allocations: 291.4 kB / 0.5835 GB, free: 7.578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4634, allocations: 361.9 kB / 0.5839 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008563/0.4643, allocations: 0.5193 MB / 0.5844 GB, free: 6.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.4656, allocations: 1.012 MB / 0.5854 GB, free: 5.473 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.4676, allocations: 1.445 MB / 0.5868 GB, free: 3.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.4676, allocations: 12 kB / 0.5868 GB, free: 3.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005049/0.4727, allocations: 1.928 MB / 0.5887 GB, free: 1.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.4727, allocations: 12 kB / 0.5887 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/0.4727, allocations: 16 kB / 0.5887 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/0.475, allocations: 253.5 kB / 0.5889 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.4762, allocations: 347.5 kB / 0.5893 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/0.4822, allocations: 3.634 MB / 0.5928 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.4833, allocations: 52.06 kB / 0.5929 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.4834, allocations: 83.97 kB / 0.5929 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.0005115/0.4839, allocations: 293.8 kB / 0.5932 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.4842, allocations: 115.2 kB / 0.5933 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.4884, allocations: 1.252 MB / 0.5945 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.4884, allocations: 8 kB / 0.5946 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4884, allocations: 4 kB / 0.5946 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4885, allocations: 3.984 kB / 0.5946 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.49, allocations: 0.9368 MB / 0.5955 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.49, allocations: 0 / 0.5955 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007102/0.4907, allocations: 179.8 kB / 0.5957 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002037/0.4928, allocations: 229.5 kB / 0.5959 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.275e-05/0.4928, allocations: 31.98 kB / 0.5959 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/0.4982, allocations: 3.526 MB / 0.5993 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.4982, allocations: 3.938 kB / 0.5993 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004465/0.5027, allocations: 1.596 MB / 0.6009 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.503, allocations: 99.33 kB / 0.601 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.5031, allocations: 20 kB / 0.601 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.5037, allocations: 24 kB / 0.601 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.5039, allocations: 84.73 kB / 0.6011 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/0.504, allocations: 39.98 kB / 0.6012 GB, free: 4.477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.5051, allocations: 0.9297 MB / 0.6021 GB, free: 3.535 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5051, allocations: 0 / 0.6021 GB, free: 3.535 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002739/0.5079, allocations: 0.8491 MB / 0.6029 GB, free: 2.684 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.007331/0.5152, allocations: 3.072 MB / 0.6059 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.5181, allocations: 1.36 MB / 0.6072 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5181, allocations: 0.5 kB / 0.6072 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.5192, allocations: 0.6434 MB / 0.6079 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.001459/0.5207, allocations: 233 kB / 0.6081 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/0.5422, allocations: 10.67 MB / 0.6185 GB, free: 2.008 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.5428, allocations: 0.4884 MB / 0.619 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001001/0.5438, allocations: 259.9 kB / 0.6192 GB, free: 1.234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008648/0.5447, allocations: 0.5417 MB / 0.6198 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5447, allocations: 0 / 0.6198 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08812/0.6328, allocations: 40.74 MB / 0.6595 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.78/17.41, allocations: 2.812 kB / 0.6595 GB, free: 8.348 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 os._exit(0), Time elapsed: 20.247854726039805] Failed to read output from testmodel.py, exit status != 0: 17.622758897021413 17.641277752 17.229285942 Calling exit ...