Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2226/0.2226, allocations: 46.89 MB / 357.4 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 87.86 kB / 0.4913 GB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1169, allocations: 65.98 MB / 0.5557 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01668/0.1336, allocations: 13.98 MB / 0.5694 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2785/0.412, allocations: 26.68 MB / 0.5954 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.4123, allocations: 2.062 kB / 0.5954 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.4126, allocations: 95.77 kB / 0.5955 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02292/0.4355, allocations: 8.543 MB / 0.6038 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.4367, allocations: 345.1 kB / 0.6042 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004366/0.4411, allocations: 2.011 MB / 0.6061 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.906e-05/0.4411, allocations: 13.08 kB / 0.6061 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.4416, allocations: 260.8 kB / 0.6064 GB, free: 3.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005844/0.4474, allocations: 3.276 MB / 0.6096 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.4475, allocations: 10 kB / 0.6096 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02295/0.4705, allocations: 11.66 MB / 0.621 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.4706, allocations: 49.17 kB / 0.621 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003434/0.4709, allocations: 143.5 kB / 0.6212 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01806/0.489, allocations: 6.756 MB / 0.6278 GB, free: 11.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.489, allocations: 3.984 kB / 0.6278 GB, free: 11.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.489, allocations: 0 / 0.6278 GB, free: 11.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.489, allocations: 0 / 0.6278 GB, free: 11.73 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005244/0.4943, allocations: 1.674 MB / 0.6294 GB, free: 10.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4943, allocations: 12.27 kB / 0.6294 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.458e-05/0.4944, allocations: 65.61 kB / 0.6295 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.4959, allocations: 191.5 kB / 0.6297 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.4963, allocations: 269.8 kB / 0.6299 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.4963, allocations: 22.8 kB / 0.6299 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.4964, allocations: 35.53 kB / 0.63 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.4984, allocations: 0.7599 MB / 0.6307 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4985, allocations: 2.688 kB / 0.6307 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.703e-05/0.4985, allocations: 15.42 kB / 0.6307 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.4985, allocations: 8.469 kB / 0.6307 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.5005, allocations: 0.8183 MB / 0.6315 GB, free: 9.203 MB / 462.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.003535/0.5041, allocations: 2.703 MB / 0.6342 GB, free: 6.703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.5053, allocations: 342.1 kB / 0.6345 GB, free: 6.523 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.5054, allocations: 70.41 kB / 0.6346 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3821/0.8874, allocations: 147.9 MB / 0.779 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.8888, allocations: 446.1 kB / 0.7794 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.545e-06/0.8888, allocations: 4 kB / 0.7794 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.004024/0.8929, allocations: 1.132 MB / 0.7805 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/0.893, allocations: 377.3 kB / 0.7809 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.8932, allocations: 195 kB / 0.7811 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.8933, allocations: 29.7 kB / 0.7811 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.8934, allocations: 199 kB / 0.7813 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.8935, allocations: 118.4 kB / 0.7814 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.8937, allocations: 122.2 kB / 0.7815 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.8938, allocations: 330.8 kB / 0.7818 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.894, allocations: 77.06 kB / 0.7819 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.8944, allocations: 353 kB / 0.7822 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.895, allocations: 486.4 kB / 0.7827 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.895, allocations: 4 kB / 0.7827 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009222/0.896, allocations: 471.7 kB / 0.7831 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.896, allocations: 12.25 kB / 0.7832 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.896, allocations: 12 kB / 0.7832 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.896, allocations: 12 kB / 0.7832 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.8976, allocations: 211.7 kB / 0.7834 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007106/0.8983, allocations: 1.184 MB / 0.7845 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.8986, allocations: 23.95 kB / 0.7846 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.8987, allocations: 44.77 kB / 0.7846 GB, free: 0.8945 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.8989, allocations: 165.5 kB / 0.7848 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.899, allocations: 23.91 kB / 0.7848 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/0.9021, allocations: 2.815 MB / 0.7875 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/0.9021, allocations: 24.34 kB / 0.7876 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.9021, allocations: 8 kB / 0.7876 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.9022, allocations: 7.922 kB / 0.7876 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.9032, allocations: 0.9695 MB / 0.7885 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.9033, allocations: 7.984 kB / 0.7885 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.9038, allocations: 93.22 kB / 0.7886 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.904, allocations: 166.7 kB / 0.7888 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.9041, allocations: 8 kB / 0.7888 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004613/0.9045, allocations: 0.6479 MB / 0.7894 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.9045, allocations: 7.938 kB / 0.7894 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.9058, allocations: 0.9529 MB / 0.7904 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.906, allocations: 136.6 kB / 0.7905 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.9061, allocations: 103 kB / 0.7906 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.9064, allocations: 15.98 kB / 0.7906 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.9065, allocations: 31.84 kB / 0.7906 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.9065, allocations: 23.92 kB / 0.7907 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005905/0.9071, allocations: 467 kB / 0.7911 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9071, allocations: 4 kB / 0.7911 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004905/0.912, allocations: 1.637 MB / 0.7927 GB, free: 8.441 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009612/0.9216, allocations: 3.147 MB / 0.7958 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.9234, allocations: 0.5391 MB / 0.7963 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.9234, allocations: 4 kB / 0.7963 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.9239, allocations: 281.6 kB / 0.7966 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009054/0.9248, allocations: 129.2 kB / 0.7967 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9962/1.921, allocations: 353.3 MB / 1.142 GB, free: 195.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/1.921, allocations: 0.982 MB / 1.143 GB, free: 194.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000673/1.922, allocations: 0.4994 MB / 1.143 GB, free: 194.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/1.922, allocations: 323.3 kB / 1.143 GB, free: 193.9 MB / 0.6544 GB Notification: Performance of SimCode: time 2.134e-06/1.922, allocations: 0 / 1.143 GB, free: 193.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09435/2.017, allocations: 66.49 MB / 1.208 GB, free: 127.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/18.83, allocations: 10.66 kB / 1.208 GB, free: 127.7 MB / 0.6544 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.860273221042007] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eps', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is'] 18.974675121251494 18.991475644 18.499135207 Calling exit ...