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.00136/0.00136, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.00146/0.00146, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.1395/0.1395, allocations: 23.88 MB / 333.4 MB, free: 1.168 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.GasSolubility_blood,fileNamePrefix="Chemical_master_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.002198/0.002198, allocations: 75.48 kB / 466.7 MB, free: 30.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09896, allocations: 59.83 MB / 0.5142 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.GasSolubility_blood): time 0.01058/0.1095, allocations: 7.029 MB / 0.5211 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02888/0.1384, allocations: 21.89 MB / 0.5425 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009688/0.1394, allocations: 19.88 kB / 0.5425 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.1409, allocations: 451.6 kB / 0.5429 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.1457, allocations: 1.661 MB / 0.5445 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007851/0.1535, allocations: 2.819 MB / 0.5473 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003045/0.1566, allocations: 1.824 MB / 0.5491 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.158, allocations: 0.7732 MB / 0.5498 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.1595, allocations: 0.8728 MB / 0.5507 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.1613, allocations: 0.9499 MB / 0.5516 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005592/0.1618, allocations: 156 kB / 0.5517 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007444/0.1693, allocations: 2.344 MB / 0.554 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006634/0.1699, allocations: 366.8 kB / 0.5544 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.1711, allocations: 0.7856 MB / 0.5551 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.1815, allocations: 4.257 MB / 0.5593 GB, free: 14.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.1815, allocations: 0 / 0.5593 GB, free: 14.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1815, allocations: 0 / 0.5593 GB, free: 14.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.898e-05/0.1816, allocations: 0 / 0.5593 GB, free: 14.54 MB / 430.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.004573/0.1861, allocations: 2.128 MB / 0.5614 GB, free: 12.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1862, allocations: 12.03 kB / 0.5614 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.158e-05/0.1862, allocations: 42.59 kB / 0.5614 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.1865, allocations: 182 kB / 0.5616 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.1883, allocations: 383.3 kB / 0.562 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.1898, allocations: 0.7646 MB / 0.5627 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/0.1898, allocations: 90.84 kB / 0.5628 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000273/0.1901, allocations: 128.3 kB / 0.5629 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.1933, allocations: 1.767 MB / 0.5647 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.1933, allocations: 0 / 0.5647 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.1935, allocations: 44 kB / 0.5647 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.1935, allocations: 32 kB / 0.5647 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003981/0.1975, allocations: 2.485 MB / 0.5672 GB, free: 6.332 MB / 430.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.009298/0.2068, allocations: 5.124 MB / 0.5722 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.2107, allocations: 2.175 MB / 0.5743 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009495/0.2117, allocations: 499 kB / 0.5748 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008341/0.22, allocations: 5.332 MB / 0.58 GB, free: 8.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.22, allocations: 43.16 kB / 0.58 GB, free: 8.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=72): time 3.576e-06/0.22, allocations: 0 / 0.58 GB, free: 8.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=89): time 0.01569/0.2357, allocations: 3.384 MB / 0.5833 GB, free: 4.809 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.2358, allocations: 68.39 kB / 0.5834 GB, free: 4.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.2376, allocations: 1.292 MB / 0.5846 GB, free: 3.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.2378, allocations: 41.7 kB / 0.5847 GB, free: 3.363 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005508/0.2384, allocations: 0.7061 MB / 0.5854 GB, free: 2.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003725/0.2387, allocations: 333.2 kB / 0.5857 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/0.2392, allocations: 283.4 kB / 0.586 GB, free: 2.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2394, allocations: 361.9 kB / 0.5863 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008717/0.2402, allocations: 0.5154 MB / 0.5868 GB, free: 1.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2252/0.4654, allocations: 0.9978 MB / 0.5878 GB, free: 66.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.4677, allocations: 1.433 MB / 0.5892 GB, free: 66.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.4677, allocations: 4.75 kB / 0.5892 GB, free: 66.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005075/0.4727, allocations: 1.903 MB / 0.591 GB, free: 65.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.4728, allocations: 17.94 kB / 0.5911 GB, free: 65.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/0.4728, allocations: 18.67 kB / 0.5911 GB, free: 65.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/0.4749, allocations: 249.9 kB / 0.5913 GB, free: 65.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.4762, allocations: 352.9 kB / 0.5917 GB, free: 65.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/0.4813, allocations: 3.873 MB / 0.5954 GB, free: 62.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/0.4825, allocations: 45.22 kB / 0.5955 GB, free: 62.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.4826, allocations: 86.56 kB / 0.5956 GB, free: 62.2 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.0004783/0.4831, allocations: 287 kB / 0.5958 GB, free: 61.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.4834, allocations: 119.1 kB / 0.5959 GB, free: 61.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/0.4875, allocations: 1.245 MB / 0.5972 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.4875, allocations: 9.562 kB / 0.5972 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4875, allocations: 0.8125 kB / 0.5972 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.4875, allocations: 3.984 kB / 0.5972 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.4892, allocations: 1.101 MB / 0.5983 GB, free: 60.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.4892, allocations: 1.406 kB / 0.5983 GB, free: 60.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.49, allocations: 175.7 kB / 0.5984 GB, free: 60.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.4919, allocations: 235.2 kB / 0.5986 GB, free: 60.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.4921, allocations: 34.3 kB / 0.5987 GB, free: 60.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/0.4966, allocations: 3.767 MB / 0.6024 GB, free: 57.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4966, allocations: 3.031 kB / 0.6024 GB, free: 57.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/0.5011, allocations: 1.603 MB / 0.6039 GB, free: 56.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.5014, allocations: 179.2 kB / 0.6041 GB, free: 56.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.5015, allocations: 23 kB / 0.6041 GB, free: 56.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005711/0.5021, allocations: 23.14 kB / 0.6041 GB, free: 56.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.5023, allocations: 74.58 kB / 0.6042 GB, free: 56.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.5024, allocations: 39.73 kB / 0.6042 GB, free: 56.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.5035, allocations: 0.9145 MB / 0.6051 GB, free: 56.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5035, allocations: 4.875 kB / 0.6051 GB, free: 56.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002592/0.5061, allocations: 0.8486 MB / 0.606 GB, free: 56.05 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.006668/0.5127, allocations: 3.077 MB / 0.609 GB, free: 54.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002756/0.5155, allocations: 1.347 MB / 0.6103 GB, free: 54.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5155, allocations: 0.5 kB / 0.6103 GB, free: 54.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.5166, allocations: 0.6476 MB / 0.6109 GB, free: 53.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.518, allocations: 233.6 kB / 0.6112 GB, free: 53.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.5353, allocations: 10.6 MB / 0.6215 GB, free: 47.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.5359, allocations: 1.083 MB / 0.6226 GB, free: 46.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009891/0.5369, allocations: 260.1 kB / 0.6228 GB, free: 46.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006585/0.5376, allocations: 0.5363 MB / 0.6233 GB, free: 46.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5376, allocations: 4 kB / 0.6233 GB, free: 46.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07426/0.6118, allocations: 39.01 MB / 0.6614 GB, free: 8.156 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/17.1, allocations: 14.55 kB / 0.6614 GB, free: 8.148 MB / 446.1 MB " [Timeout remaining time 643] (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 sys.exit(0), Time elapsed: 20.03918782400433] Failed to read output from testmodel.py, exit status != 0: 17.278241916035768 17.294050628 17.108319386 Calling exit ...