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.0008745/0.0008745, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009736/0.0009736, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.848/0.848, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.08218/0.08218, allocations: 17.46 MB / 276.6 MB, free: 11.77 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 411.6 MB, free: 252 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.64e-05, allocations: 2.281 kB / 411.6 MB, free: 248 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.005281/0.005297, allocations: 6.234 MB / 417.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.01871, allocations: 19.18 MB / 437 MB, free: 6.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006862/0.01939, allocations: 23.81 kB / 437 MB, free: 6.699 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008311/0.02022, allocations: 416.7 kB / 437.4 MB, free: 6.289 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.023, allocations: 1.687 MB / 439.1 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004544/0.02755, allocations: 2.931 MB / 442.1 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1447/0.1723, allocations: 1.885 MB / 443.9 MB, free: 45.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008484/0.1731, allocations: 0.7598 MB / 444.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008199/0.1739, allocations: 1.21 MB / 445.9 MB, free: 45.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.1745, allocations: 0.7558 MB / 446.7 MB, free: 45.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.1746, allocations: 155.1 kB / 446.8 MB, free: 45.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.1779, allocations: 2.226 MB / 449 MB, free: 45.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.1781, allocations: 366.4 kB / 449.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.1784, allocations: 0.5701 MB / 450 MB, free: 45.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.1824, allocations: 4.517 MB / 454.5 MB, free: 45.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1824, allocations: 0.5312 kB / 454.5 MB, free: 45.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1824, allocations: 0 / 454.5 MB, free: 45.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.1824, allocations: 3.219 kB / 454.5 MB, free: 45.02 MB / 410.7 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.002096/0.1845, allocations: 2.041 MB / 456.5 MB, free: 44.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001114/0.1846, allocations: 9.938 kB / 456.5 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002586/0.1849, allocations: 177.5 kB / 456.7 MB, free: 43.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.1859, allocations: 394.1 kB / 457.1 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007334/0.1867, allocations: 0.6958 MB / 457.8 MB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.1867, allocations: 93.44 kB / 457.9 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1869, allocations: 129.5 kB / 458 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.1883, allocations: 1.781 MB / 459.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1883, allocations: 192 / 459.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.1884, allocations: 49.91 kB / 459.8 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1884, allocations: 35.12 kB / 459.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.1902, allocations: 2.495 MB / 462.4 MB, free: 42.53 MB / 410.7 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.00403/0.1943, allocations: 4.331 MB / 466.7 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.1961, allocations: 1.836 MB / 468.5 MB, free: 39.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.1965, allocations: 495 kB / 469 MB, free: 39.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002989/0.1995, allocations: 2.699 MB / 471.7 MB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.1995, allocations: 45.41 kB / 471.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 2.073e-06/0.1995, allocations: 0 / 471.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.006464/0.206, allocations: 3.236 MB / 475 MB, free: 37.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.206, allocations: 61.66 kB / 475.1 MB, free: 37.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.207, allocations: 1.351 MB / 476.4 MB, free: 36.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.207, allocations: 40.48 kB / 476.5 MB, free: 36.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.2072, allocations: 0.7027 MB / 477.2 MB, free: 36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.2073, allocations: 334.1 kB / 477.5 MB, free: 35.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.2076, allocations: 286.5 kB / 477.8 MB, free: 35.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.2076, allocations: 358.7 kB / 478.1 MB, free: 35.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.2081, allocations: 0.5264 MB / 478.6 MB, free: 35.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.2088, allocations: 1.004 MB / 479.6 MB, free: 34.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.2099, allocations: 1.453 MB / 481.1 MB, free: 33.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.2099, allocations: 5.188 kB / 481.1 MB, free: 33.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002449/0.2124, allocations: 1.932 MB / 483 MB, free: 32.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.2124, allocations: 11.72 kB / 483 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.2124, allocations: 15.75 kB / 483.1 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008606/0.2133, allocations: 250.9 kB / 483.3 MB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.2139, allocations: 349 kB / 483.6 MB, free: 32.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.2165, allocations: 3.64 MB / 487.3 MB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.2171, allocations: 46.84 kB / 487.3 MB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/0.2172, allocations: 81.88 kB / 487.4 MB, free: 29.33 MB / 410.7 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.000345/0.2175, allocations: 287.1 kB / 487.7 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2177, allocations: 108.2 kB / 487.8 MB, free: 29.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.2197, allocations: 1.242 MB / 489 MB, free: 28.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2197, allocations: 12.5 kB / 489.1 MB, free: 28.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2197, allocations: 6.031 kB / 489.1 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.2197, allocations: 9.688 kB / 489.1 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009331/0.2206, allocations: 0.9494 MB / 490 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2206, allocations: 1.062 kB / 490 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.221, allocations: 175.6 kB / 490.2 MB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008053/0.2218, allocations: 232.1 kB / 490.4 MB, free: 27.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.2219, allocations: 35.41 kB / 490.5 MB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.2241, allocations: 3.518 MB / 494 MB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.2241, allocations: 8.281 kB / 494 MB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.2262, allocations: 1.595 MB / 495.6 MB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2263, allocations: 97.16 kB / 495.7 MB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.2264, allocations: 25.78 kB / 495.7 MB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.2266, allocations: 19.91 kB / 495.7 MB, free: 24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.2268, allocations: 79.48 kB / 495.8 MB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.2268, allocations: 37.89 kB / 495.8 MB, free: 23.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007023/0.2275, allocations: 0.9309 MB / 496.8 MB, free: 23.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2275, allocations: 1.062 kB / 496.8 MB, free: 23.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001917/0.2294, allocations: 0.8486 MB / 497.6 MB, free: 23.34 MB / 410.7 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.003673/0.2331, allocations: 3.11 MB / 0.489 GB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.2345, allocations: 1.361 MB / 0.4903 GB, free: 21.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2345, allocations: 4.062 kB / 0.4903 GB, free: 21.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.2351, allocations: 0.6437 MB / 0.4909 GB, free: 20.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007348/0.2358, allocations: 232.2 kB / 0.4912 GB, free: 20.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00971/0.2455, allocations: 10.59 MB / 0.5015 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.2458, allocations: 500 kB / 0.502 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005867/0.2464, allocations: 257.5 kB / 0.5022 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.2469, allocations: 0.5447 MB / 0.5028 GB, free: 13.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2469, allocations: 0 / 0.5028 GB, free: 13.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.2958, allocations: 40.9 MB / 0.5427 GB, free: 8.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.6, allocations: 7.938 kB / 0.5427 GB, free: 8.223 MB / 442.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.GasSolubility_blood_res.csv --start-time 0 --stop-time 1e-05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-09 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: 10.404887535609305] Failed to read output from testmodel.py, exit status != 0: 8.706198936328292 8.716749343 8.532781278 Calling exit ...