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.0009423/0.0009423, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001434/0.001434, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9047/0.9047, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08761/0.08761, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 411.4 MB, free: 432 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.292e-05, allocations: 2.281 kB / 411.4 MB, free: 428 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.004917/0.00493, allocations: 6.235 MB / 417.7 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.0185, allocations: 19.18 MB / 436.9 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/0.01896, allocations: 19.81 kB / 436.9 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007125/0.01967, allocations: 420.7 kB / 437.3 MB, free: 6.461 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.02225, allocations: 1.687 MB / 439 MB, free: 4.762 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.02711, allocations: 2.931 MB / 441.9 MB, free: 1.812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1559/0.183, allocations: 1.885 MB / 443.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008691/0.1839, allocations: 0.763 MB / 444.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000841/0.1847, allocations: 1.205 MB / 445.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006244/0.1853, allocations: 0.7568 MB / 446.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.1854, allocations: 152.7 kB / 446.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.1892, allocations: 2.218 MB / 448.9 MB, free: 45.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.1894, allocations: 372.7 kB / 449.2 MB, free: 45.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.1897, allocations: 0.5771 MB / 449.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.1925, allocations: 4.52 MB / 454.3 MB, free: 45.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1925, allocations: 0 / 454.3 MB, free: 45.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1926, allocations: 0 / 454.3 MB, free: 45.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1926, allocations: 2.594 kB / 454.3 MB, free: 45.01 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.001702/0.1943, allocations: 2.037 MB / 456.4 MB, free: 44.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1943, allocations: 9.062 kB / 456.4 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.1944, allocations: 183.3 kB / 456.6 MB, free: 43.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000773/0.1952, allocations: 380.5 kB / 456.9 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.1959, allocations: 0.7023 MB / 457.6 MB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.455e-05/0.196, allocations: 91.97 kB / 457.7 MB, free: 43.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.1961, allocations: 132.5 kB / 457.9 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1975, allocations: 1.777 MB / 459.6 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1976, allocations: 4.188 kB / 459.6 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.58e-05/0.1976, allocations: 53.55 kB / 459.7 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1976, allocations: 36.19 kB / 459.7 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.1995, allocations: 2.49 MB / 462.2 MB, free: 42.6 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.003909/0.2034, allocations: 4.325 MB / 466.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.2052, allocations: 1.841 MB / 468.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.2056, allocations: 0.4906 MB / 468.9 MB, free: 39.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002911/0.2085, allocations: 2.698 MB / 471.6 MB, free: 38.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.2085, allocations: 45.53 kB / 471.6 MB, free: 38.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=72): time 1.493e-06/0.2085, allocations: 0 / 471.6 MB, free: 38.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=89): time 0.006584/0.2151, allocations: 3.238 MB / 474.9 MB, free: 37.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.2152, allocations: 61.5 kB / 474.9 MB, free: 37.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/0.216, allocations: 1.354 MB / 476.3 MB, free: 36.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2161, allocations: 40.45 kB / 476.3 MB, free: 36.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.2163, allocations: 0.6957 MB / 477 MB, free: 36.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.2164, allocations: 330.1 kB / 477.3 MB, free: 35.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.2166, allocations: 290.4 kB / 477.6 MB, free: 35.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.2167, allocations: 358.6 kB / 478 MB, free: 35.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.2172, allocations: 0.5198 MB / 478.5 MB, free: 35.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006442/0.2178, allocations: 1.011 MB / 479.5 MB, free: 34.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.2189, allocations: 1.445 MB / 480.9 MB, free: 33.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.2189, allocations: 7.906 kB / 480.9 MB, free: 33.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002508/0.2214, allocations: 1.935 MB / 482.9 MB, free: 32.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2214, allocations: 12.47 kB / 482.9 MB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.2214, allocations: 15.47 kB / 482.9 MB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008676/0.2223, allocations: 251.5 kB / 483.2 MB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.2229, allocations: 349.9 kB / 483.5 MB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.2256, allocations: 3.635 MB / 487.1 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.226, allocations: 51.22 kB / 487.2 MB, free: 29.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/0.2261, allocations: 82 kB / 487.3 MB, free: 29.39 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.0002868/0.2264, allocations: 283.9 kB / 487.5 MB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.2265, allocations: 112.4 kB / 487.7 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.2285, allocations: 1.254 MB / 488.9 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.2285, allocations: 8.5 kB / 488.9 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2285, allocations: 5.094 kB / 488.9 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.2285, allocations: 6.859 kB / 488.9 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.2294, allocations: 0.9355 MB / 489.9 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2294, allocations: 1.062 kB / 489.9 MB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.2298, allocations: 174.4 kB / 490 MB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000804/0.2306, allocations: 233.8 kB / 490.3 MB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.2306, allocations: 33.55 kB / 490.3 MB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.2329, allocations: 3.528 MB / 493.8 MB, free: 24.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2329, allocations: 5.375 kB / 493.8 MB, free: 24.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.2351, allocations: 1.593 MB / 495.4 MB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.2353, allocations: 104.1 kB / 495.5 MB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.2353, allocations: 17.25 kB / 495.5 MB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.2356, allocations: 22.7 kB / 495.6 MB, free: 24.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.2357, allocations: 80.34 kB / 495.6 MB, free: 24.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.2358, allocations: 38.27 kB / 495.7 MB, free: 24.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007056/0.2365, allocations: 0.9303 MB / 496.6 MB, free: 23.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2365, allocations: 1.438 kB / 496.6 MB, free: 23.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001879/0.2384, allocations: 0.8523 MB / 497.5 MB, free: 23.39 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.003582/0.2419, allocations: 3.107 MB / 0.4888 GB, free: 21.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.2433, allocations: 1.365 MB / 0.4902 GB, free: 21.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2433, allocations: 0 / 0.4902 GB, free: 21.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.2438, allocations: 0.6439 MB / 0.4908 GB, free: 20.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.2444, allocations: 234.2 kB / 0.491 GB, free: 20.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009264/0.2537, allocations: 10.59 MB / 0.5014 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.254, allocations: 0.4927 MB / 0.5018 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005469/0.2546, allocations: 259.4 kB / 0.5021 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.255, allocations: 0.545 MB / 0.5026 GB, free: 13.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.255, allocations: 0 / 0.5026 GB, free: 13.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05458/0.3096, allocations: 40.89 MB / 0.5426 GB, free: 8.457 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.828/9.137, allocations: 9.141 kB / 0.5426 GB, free: 8.457 MB / 442.7 MB " [Timeout remaining time 651] (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: 10.966382135637105] Failed to read output from testmodel.py, exit status != 0: 9.247233557514846 9.257905461 9.063214377 Calling exit ...