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_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2225/0.2225, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB 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.002214/0.002214, allocations: 75.88 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3736, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01865/0.3923, allocations: 13.91 MB / 0.5442 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03388/0.4262, allocations: 26.61 MB / 0.5702 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.4265, allocations: 0 / 0.5702 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.4269, allocations: 99.39 kB / 0.5703 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02533/0.4523, allocations: 8.54 MB / 0.5787 GB, free: 392 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009674/0.4533, allocations: 349.8 kB / 0.579 GB, free: 48 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004783/0.458, allocations: 2.006 MB / 0.5809 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.145e-05/0.4581, allocations: 16.41 kB / 0.581 GB, free: 14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.4587, allocations: 270.8 kB / 0.5812 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007538/0.4662, allocations: 3.27 MB / 0.5844 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.4663, allocations: 12 kB / 0.5844 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02498/0.4913, allocations: 10.82 MB / 0.595 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.4915, allocations: 51.75 kB / 0.595 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.4918, allocations: 135.3 kB / 0.5952 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01782/0.5096, allocations: 6.341 MB / 0.6014 GB, free: 9.027 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5097, allocations: 4 kB / 0.6014 GB, free: 9.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5097, allocations: 0 / 0.6014 GB, free: 9.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.5097, allocations: 0 / 0.6014 GB, free: 9.023 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.004756/0.5144, allocations: 1.612 MB / 0.6029 GB, free: 7.355 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5145, allocations: 8.031 kB / 0.6029 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.755e-05/0.5146, allocations: 70.72 kB / 0.603 GB, free: 7.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.5163, allocations: 220.5 kB / 0.6032 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.5167, allocations: 279.9 kB / 0.6035 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.5168, allocations: 21.03 kB / 0.6035 GB, free: 6.723 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/0.5169, allocations: 35.94 kB / 0.6035 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.5193, allocations: 0.8249 MB / 0.6044 GB, free: 5.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5193, allocations: 0 / 0.6044 GB, free: 5.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.5194, allocations: 12 kB / 0.6044 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.5194, allocations: 8 kB / 0.6044 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.5219, allocations: 0.9347 MB / 0.6053 GB, free: 4.863 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.003471/0.5254, allocations: 2.578 MB / 0.6078 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.5269, allocations: 384.7 kB / 0.6082 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.527, allocations: 76.81 kB / 0.6082 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8482/1.375, allocations: 241.3 MB / 0.8438 GB, free: 72.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/1.377, allocations: 476.9 kB / 0.8443 GB, free: 71.51 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/1.377, allocations: 0 / 0.8443 GB, free: 71.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002749/1.379, allocations: 0.7822 MB / 0.8451 GB, free: 70.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/1.38, allocations: 375.8 kB / 0.8454 GB, free: 70.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/1.38, allocations: 172.7 kB / 0.8456 GB, free: 70.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/1.38, allocations: 37.7 kB / 0.8456 GB, free: 70.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/1.38, allocations: 190.7 kB / 0.8458 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.824e-05/1.38, allocations: 118.9 kB / 0.8459 GB, free: 69.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.38, allocations: 126.2 kB / 0.846 GB, free: 69.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.381e-05/1.38, allocations: 333.1 kB / 0.8464 GB, free: 69.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/1.38, allocations: 85.06 kB / 0.8464 GB, free: 69.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/1.381, allocations: 344.5 kB / 0.8468 GB, free: 68.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/1.381, allocations: 482.5 kB / 0.8472 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.381, allocations: 0 / 0.8472 GB, free: 68.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007679/1.382, allocations: 481.5 kB / 0.8477 GB, free: 67.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.382, allocations: 8 kB / 0.8477 GB, free: 67.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.382, allocations: 8 kB / 0.8477 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.382, allocations: 15.94 kB / 0.8477 GB, free: 67.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/1.382, allocations: 139.8 kB / 0.8478 GB, free: 67.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/1.382, allocations: 19.94 kB / 0.8479 GB, free: 67.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/1.383, allocations: 48.28 kB / 0.8479 GB, free: 67.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/1.383, allocations: 41.58 kB / 0.848 GB, free: 67.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/1.383, allocations: 172.2 kB / 0.8481 GB, free: 67.28 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/1.383, allocations: 31.86 kB / 0.8481 GB, free: 67.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/1.385, allocations: 2.601 MB / 0.8507 GB, free: 64.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/1.385, allocations: 15.98 kB / 0.8507 GB, free: 64.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.385, allocations: 4 kB / 0.8507 GB, free: 64.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.385, allocations: 7.984 kB / 0.8507 GB, free: 64.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/1.386, allocations: 0.9361 MB / 0.8516 GB, free: 63.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.386, allocations: 8 kB / 0.8516 GB, free: 63.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/1.386, allocations: 71.86 kB / 0.8517 GB, free: 63.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.386, allocations: 7.938 kB / 0.8517 GB, free: 63.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/1.386, allocations: 15.94 kB / 0.8517 GB, free: 63.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.386, allocations: 7.375 kB / 0.8517 GB, free: 63.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/1.386, allocations: 15.77 kB / 0.8517 GB, free: 63.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/1.387, allocations: 0.7055 MB / 0.8524 GB, free: 62.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/1.387, allocations: 132.6 kB / 0.8526 GB, free: 62.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.387, allocations: 114.9 kB / 0.8527 GB, free: 62.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/1.387, allocations: 15.98 kB / 0.8527 GB, free: 62.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/1.387, allocations: 27.97 kB / 0.8527 GB, free: 62.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/1.387, allocations: 19.98 kB / 0.8527 GB, free: 62.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004779/1.388, allocations: 0.4962 MB / 0.8532 GB, free: 61.99 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.92e-07/1.388, allocations: 0 / 0.8532 GB, free: 61.99 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004157/1.392, allocations: 1.532 MB / 0.8547 GB, free: 60.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006923/1.399, allocations: 2.89 MB / 0.8575 GB, free: 57.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007663/1.4, allocations: 423.7 kB / 0.8579 GB, free: 57.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.4, allocations: 0 / 0.8579 GB, free: 57.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/1.4, allocations: 276.7 kB / 0.8582 GB, free: 56.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/1.401, allocations: 143.1 kB / 0.8583 GB, free: 56.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.531/2.932, allocations: 0.6073 GB / 1.466 GB, free: 200.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/2.933, allocations: 0.9895 MB / 1.467 GB, free: 199.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005791/2.933, allocations: 0.5227 MB / 1.467 GB, free: 199.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/2.934, allocations: 338.5 kB / 1.467 GB, free: 198.9 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/2.934, allocations: 4 kB / 1.467 GB, free: 198.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09698/3.031, allocations: 63.51 MB / 1.529 GB, free: 135.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/16.03, allocations: 9.844 kB / 1.529 GB, free: 135.5 MB / 0.6231 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1)