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.0007644/0.0007644, 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.000884/0.000884, 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.8508/0.8508, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.0795/0.0795, allocations: 17.45 MB / 276.6 MB, free: 11.78 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.693e-06/1.693e-06, allocations: 0 / 411.6 MB, free: 268 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.015e-05, allocations: 14.22 kB / 411.6 MB, free: 252 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.007588/0.007608, allocations: 6.222 MB / 417.8 MB, free: 9.992 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.02349, allocations: 19.19 MB / 437 MB, free: 6.727 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007373/0.02423, allocations: 19.88 kB / 437 MB, free: 6.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.02501, allocations: 408.7 kB / 437.4 MB, free: 6.305 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.02779, allocations: 1.687 MB / 439.1 MB, free: 4.605 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004548/0.03234, allocations: 2.934 MB / 442.1 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1401/0.1724, allocations: 1.88 MB / 443.9 MB, free: 45.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007832/0.1732, allocations: 0.7607 MB / 444.7 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007913/0.174, allocations: 1.206 MB / 445.9 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.1745, allocations: 0.7657 MB / 446.7 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.1747, allocations: 150.3 kB / 446.8 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.1781, allocations: 2.221 MB / 449 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.1783, allocations: 369.6 kB / 449.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.1786, allocations: 0.5746 MB / 450 MB, free: 45.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002831/0.1814, allocations: 4.517 MB / 454.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1814, allocations: 0 / 454.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1814, allocations: 0 / 454.5 MB, free: 45.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.1814, allocations: 0 / 454.5 MB, free: 45.07 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.001649/0.1831, allocations: 2.036 MB / 456.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1831, allocations: 14.56 kB / 456.5 MB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.1832, allocations: 184.4 kB / 456.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007629/0.184, allocations: 383.6 kB / 457.1 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006976/0.1847, allocations: 0.7049 MB / 457.8 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.1847, allocations: 90.5 kB / 457.9 MB, free: 43.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1849, allocations: 128.8 kB / 458 MB, free: 43.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1862, allocations: 1.78 MB / 459.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.1863, allocations: 4.188 kB / 459.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.527e-05/0.1863, allocations: 50.22 kB / 459.8 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1864, allocations: 35.41 kB / 459.9 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.1882, allocations: 2.492 MB / 462.4 MB, free: 42.56 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.003853/0.192, allocations: 4.326 MB / 466.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.1938, allocations: 1.839 MB / 468.5 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.1942, allocations: 0.4884 MB / 469 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002773/0.1969, allocations: 2.697 MB / 471.7 MB, free: 38.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.197, allocations: 42.44 kB / 471.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 1.583e-06/0.197, allocations: 0 / 471.8 MB, free: 38.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.006482/0.2034, allocations: 3.239 MB / 475 MB, free: 37.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.2035, allocations: 64.12 kB / 475.1 MB, free: 37.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008424/0.2043, allocations: 1.351 MB / 476.4 MB, free: 36.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.2043, allocations: 41.86 kB / 476.5 MB, free: 36.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.2045, allocations: 0.696 MB / 477.2 MB, free: 36.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.2047, allocations: 338.3 kB / 477.5 MB, free: 35.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.2049, allocations: 285.4 kB / 477.8 MB, free: 35.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.2049, allocations: 358.7 kB / 478.1 MB, free: 35.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.2054, allocations: 0.5228 MB / 478.6 MB, free: 35.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.206, allocations: 1.008 MB / 479.6 MB, free: 34.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2071, allocations: 1.445 MB / 481.1 MB, free: 33.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.2071, allocations: 5.312 kB / 481.1 MB, free: 33.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002428/0.2096, allocations: 1.936 MB / 483 MB, free: 32.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2096, allocations: 11.78 kB / 483 MB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.2096, allocations: 18.86 kB / 483.1 MB, free: 32.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008553/0.2105, allocations: 249.3 kB / 483.3 MB, free: 32.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.211, allocations: 350.7 kB / 483.6 MB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.2137, allocations: 3.632 MB / 487.3 MB, free: 29.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.2141, allocations: 51.06 kB / 487.3 MB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.2142, allocations: 80.41 kB / 487.4 MB, free: 29.36 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.0002742/0.2145, allocations: 290.4 kB / 487.7 MB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2146, allocations: 108.4 kB / 487.8 MB, free: 29.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.2165, allocations: 1.25 MB / 489 MB, free: 28.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2165, allocations: 9.094 kB / 489.1 MB, free: 28.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2165, allocations: 5.938 kB / 489.1 MB, free: 28.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2165, allocations: 7.453 kB / 489.1 MB, free: 28.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.2173, allocations: 0.9411 MB / 490 MB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2173, allocations: 1.156 kB / 490 MB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.2177, allocations: 179.2 kB / 490.2 MB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008073/0.2185, allocations: 231 kB / 490.4 MB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.2185, allocations: 33.88 kB / 490.4 MB, free: 28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.2207, allocations: 3.53 MB / 494 MB, free: 24.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2207, allocations: 8.234 kB / 494 MB, free: 24.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.2228, allocations: 1.594 MB / 495.6 MB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.2229, allocations: 100.8 kB / 495.7 MB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.223, allocations: 18.06 kB / 495.7 MB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2232, allocations: 22.27 kB / 495.7 MB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.2233, allocations: 77.22 kB / 495.8 MB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.2234, allocations: 34.72 kB / 495.8 MB, free: 24.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006026/0.224, allocations: 0.9328 MB / 496.8 MB, free: 23.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.224, allocations: 3.844 kB / 496.8 MB, free: 23.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002011/0.226, allocations: 0.8505 MB / 497.6 MB, free: 23.36 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.004301/0.2303, allocations: 3.11 MB / 0.489 GB, free: 21.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.2321, allocations: 1.359 MB / 0.4903 GB, free: 21.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2321, allocations: 0 / 0.4903 GB, free: 21.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006282/0.2327, allocations: 0.6482 MB / 0.4909 GB, free: 20.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/0.2337, allocations: 237.9 kB / 0.4912 GB, free: 20.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.2457, allocations: 10.58 MB / 0.5015 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.246, allocations: 0.4895 MB / 0.502 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006859/0.2467, allocations: 267.4 kB / 0.5022 GB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000517/0.2472, allocations: 0.5485 MB / 0.5028 GB, free: 13.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2472, allocations: 0 / 0.5028 GB, free: 13.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04633/0.2936, allocations: 40.89 MB / 0.5427 GB, free: 8.227 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.608, allocations: 0 / 0.5427 GB, free: 8.227 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 & /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: 10.334112521260977] Failed to read output from testmodel.py, exit status != 0: 8.714659558609128 8.722150246 8.538972477 Calling exit ...