Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Fluid.Examples.AirWaterSaturation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Fluid.Examples.AirWaterSaturation,fileNamePrefix="Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1389/0.1389, allocations: 15.28 MB / 30.51 MB, free: 4.352 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108.1 kB / 35.49 MB, free: 3.391 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 192.5 kB / 40.58 MB, free: 7.469 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.724/1.724, allocations: 222.9 MB / 268.4 MB, free: 6.508 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1705/0.1705, allocations: 23.36 MB / 346.1 MB, free: 0.4961 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 107.8 kB / 417.8 MB, free: 30.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1831, allocations: 59.37 MB / 477.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.AirWaterSaturation): time 0.3823/0.5654, allocations: 59.58 MB / 0.5241 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03438/0.5999, allocations: 27.79 MB / 0.5513 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.602, allocations: 33.41 kB / 0.5513 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.6038, allocations: 379 kB / 0.5517 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.6158, allocations: 2.502 MB / 0.5541 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01674/0.6326, allocations: 3.285 MB / 0.5573 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004016/0.6366, allocations: 1.898 MB / 0.5592 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.6382, allocations: 1.005 MB / 0.5601 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007975/0.6462, allocations: 3.043 MB / 0.5631 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00819/0.6544, allocations: 1.523 MB / 0.5646 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006886/0.6552, allocations: 132.1 kB / 0.5647 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/0.6746, allocations: 4.346 MB / 0.569 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.6758, allocations: 0.5572 MB / 0.5695 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.6771, allocations: 0.7704 MB / 0.5703 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02237/0.6995, allocations: 5.487 MB / 0.5756 GB, free: 12.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6996, allocations: 0 / 0.5756 GB, free: 12.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.85e-06/0.6996, allocations: 0 / 0.5756 GB, free: 12.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.6996, allocations: 3.938 kB / 0.5756 GB, free: 12.66 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.005981/0.7056, allocations: 2.14 MB / 0.5777 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.7057, allocations: 8.031 kB / 0.5777 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002518/0.7059, allocations: 168.9 kB / 0.5779 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001595/0.7075, allocations: 351 kB / 0.5782 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.7089, allocations: 0.7515 MB / 0.579 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.709, allocations: 81.98 kB / 0.579 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.7092, allocations: 103.9 kB / 0.5791 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.7123, allocations: 1.842 MB / 0.5809 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.7124, allocations: 3.938 kB / 0.5809 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.7125, allocations: 40 kB / 0.581 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.018e-05/0.7126, allocations: 49.98 kB / 0.581 GB, free: 6.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.7162, allocations: 2.256 MB / 0.5832 GB, free: 4.703 MB / 398.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.01008/0.7263, allocations: 6.37 MB / 0.5894 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.7289, allocations: 1.289 MB / 0.5907 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.7299, allocations: 0.6987 MB / 0.5914 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00603/0.736, allocations: 3.55 MB / 0.5949 GB, free: 8.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.736, allocations: 47.55 kB / 0.5949 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007669/0.7368, allocations: 142.8 kB / 0.595 GB, free: 8.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.686e-06/0.7368, allocations: 0 / 0.595 GB, free: 8.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.005592/0.7424, allocations: 2.556 MB / 0.5975 GB, free: 5.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.7425, allocations: 60.41 kB / 0.5976 GB, free: 5.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.7437, allocations: 0.7621 MB / 0.5983 GB, free: 4.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.7438, allocations: 41.7 kB / 0.5984 GB, free: 4.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.7442, allocations: 0.495 MB / 0.5989 GB, free: 4.164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.7446, allocations: 346.9 kB / 0.5992 GB, free: 3.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000432/0.745, allocations: 254.7 kB / 0.5994 GB, free: 3.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.7452, allocations: 402.7 kB / 0.5998 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.7463, allocations: 0.6388 MB / 0.6004 GB, free: 2.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.7476, allocations: 0.9383 MB / 0.6014 GB, free: 1.461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00237/0.75, allocations: 1.662 MB / 0.603 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.75, allocations: 0 / 0.603 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003376/0.7534, allocations: 1.876 MB / 0.6048 GB, free: 13.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.7535, allocations: 12 kB / 0.6048 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.7535, allocations: 11.97 kB / 0.6048 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009085/0.7544, allocations: 189.5 kB / 0.605 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.7555, allocations: 283.6 kB / 0.6053 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.7569, allocations: 1.237 MB / 0.6065 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.7581, allocations: 79.95 kB / 0.6066 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/0.7583, allocations: 83.95 kB / 0.6066 GB, free: 11.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008411/0.7591, allocations: 325.4 kB / 0.607 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.7595, allocations: 90.88 kB / 0.607 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005215/0.7647, allocations: 2.428 MB / 0.6094 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002845/0.7675, allocations: 1.495 MB / 0.6109 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.7676, allocations: 3.984 kB / 0.6109 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.7676, allocations: 3.984 kB / 0.6109 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006529/0.7741, allocations: 3.12 MB / 0.6139 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.7742, allocations: 4 kB / 0.6139 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008983/0.7751, allocations: 191.8 kB / 0.6141 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007729/0.7759, allocations: 177.5 kB / 0.6143 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.776, allocations: 35.98 kB / 0.6143 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.7771, allocations: 1.21 MB / 0.6155 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.7771, allocations: 0 / 0.6155 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004907/0.782, allocations: 2.621 MB / 0.6181 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008292/0.7829, allocations: 299.7 kB / 0.6183 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/0.7833, allocations: 27.94 kB / 0.6184 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000937/0.7842, allocations: 55.86 kB / 0.6184 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.7845, allocations: 76.89 kB / 0.6185 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.7846, allocations: 43.98 kB / 0.6185 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001111/0.7857, allocations: 0.6161 MB / 0.6191 GB, free: 14.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7857, allocations: 4 kB / 0.6191 GB, free: 14.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004936/0.7907, allocations: 1.244 MB / 0.6204 GB, free: 13.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (upperRespiratoryTract.chemicalSolution.substanceMasses[1],upperRespiratoryTract.chemicalSolution.substanceMasses[2],upperRespiratoryTract.chemicalSolution.substanceMasses[3],upperRespiratoryTract.chemicalSolution.substanceMasses[4],upperRespiratoryTract.enthalpy) * 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 (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01265/0.8033, allocations: 4.992 MB / 0.6252 GB, free: 8.555 MB / 446.1 MB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {pH2O_upperRespiratory.state.X[1], pH2O_upperRespiratory.state.X[2], pH2O_upperRespiratory.state.X[3], pH2O_upperRespiratory.state.X[4]} = $TMP_Physiolibrary_Fluid_Examples_AirWaterSaturation_pH2O__upperRespiratory_Medium_ThermodynamicState54.X Notification: Performance of simCode: created initialization part: time 0.00528/0.8087, allocations: 2.003 MB / 0.6272 GB, free: 6.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.8087, allocations: 384 / 0.6272 GB, free: 6.547 MB / 446.1 MB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {pH2O_upperRespiratory.state.X[1], pH2O_upperRespiratory.state.X[2], pH2O_upperRespiratory.state.X[3], pH2O_upperRespiratory.state.X[4]} = $TMP_Physiolibrary_Fluid_Examples_AirWaterSaturation_pH2O__upperRespiratory_Medium_ThermodynamicState204.X Notification: Performance of simCode: created simulation system equations: time 0.002003/0.8107, allocations: 0.8622 MB / 0.628 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/0.8142, allocations: 493.3 kB / 0.6285 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02697/0.8412, allocations: 12.48 MB / 0.6407 GB, free: 8.273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.8426, allocations: 1.129 MB / 0.6418 GB, free: 7.113 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001995/0.8447, allocations: 410.4 kB / 0.6422 GB, free: 6.727 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.8458, allocations: 0.5528 MB / 0.6427 GB, free: 6.176 MB / 462.1 MB Notification: Performance of SimCode: time 1.443e-06/0.8458, allocations: 0 / 0.6427 GB, free: 6.176 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/0.9545, allocations: 57.2 MB / 0.6986 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.9548, allocations: 231.7 kB / 0.6988 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.207/5.162, allocations: 3.938 kB / 0.6988 GB, free: 13.04 MB / 0.5137 GB (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Fluid_Examples_AirWaterSaturation.fmu > Physiolibrary_Physiolibrary.Fluid.Examples.AirWaterSaturation.pipe 2>&1)