Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001101, allocations: 96.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 45.91 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002421, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1316, allocations: 63.47 MB / 481.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01298/0.1447, allocations: 11.85 MB / 493.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02621/0.1709, allocations: 22.4 MB / 0.5037 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.1713, allocations: 4 kB / 0.5037 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.1717, allocations: 87.56 kB / 0.5038 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.292/0.4637, allocations: 6.721 MB / 0.5103 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.4649, allocations: 306.9 kB / 0.5106 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006441/0.4714, allocations: 3.042 MB / 0.5136 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.4715, allocations: 20.55 kB / 0.5136 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006519/0.4722, allocations: 279.9 kB / 0.5139 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.4834, allocations: 5.562 MB / 0.5193 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.4835, allocations: 7.562 kB / 0.5193 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02661/0.5101, allocations: 11.48 MB / 0.5305 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.5104, allocations: 44.09 kB / 0.5306 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.5107, allocations: 74.83 kB / 0.5307 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.5235, allocations: 4.509 MB / 0.5351 GB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.5236, allocations: 0 / 0.5351 GB, free: 7.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.484e-06/0.5236, allocations: 0 / 0.5351 GB, free: 7.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.5237, allocations: 1.859 kB / 0.5351 GB, free: 7.723 MB / 382.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.00523/0.5289, allocations: 1.557 MB / 0.5366 GB, free: 6.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.5289, allocations: 12.03 kB / 0.5366 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.041e-05/0.529, allocations: 67.34 kB / 0.5367 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.5304, allocations: 187.9 kB / 0.5368 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.5307, allocations: 267.1 kB / 0.5371 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.5308, allocations: 21.97 kB / 0.5371 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.5308, allocations: 34.56 kB / 0.5371 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.5327, allocations: 0.7504 MB / 0.5379 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5327, allocations: 3.953 kB / 0.5379 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.5328, allocations: 18.16 kB / 0.5379 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.5328, allocations: 8 kB / 0.5379 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.5346, allocations: 0.8185 MB / 0.5387 GB, free: 4.375 MB / 382.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.00294/0.5376, allocations: 2.705 MB / 0.5413 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.5386, allocations: 354.4 kB / 0.5417 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3757/0.9143, allocations: 147.4 MB / 0.6856 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/0.9156, allocations: 447.7 kB / 0.686 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.9156, allocations: 0 / 0.686 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.003606/0.9192, allocations: 1.114 MB / 0.6871 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.9194, allocations: 370.8 kB / 0.6875 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.9196, allocations: 191.5 kB / 0.6877 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.9196, allocations: 35.11 kB / 0.6877 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.9197, allocations: 192.2 kB / 0.6879 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/0.9198, allocations: 111.6 kB / 0.688 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.9198, allocations: 11.62 kB / 0.688 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.9199, allocations: 331.6 kB / 0.6883 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.9201, allocations: 77.94 kB / 0.6884 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.9204, allocations: 342.3 kB / 0.6887 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.9206, allocations: 131.9 kB / 0.6888 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9206, allocations: 0 / 0.6888 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007249/0.9213, allocations: 477 kB / 0.6893 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9214, allocations: 8 kB / 0.6893 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.9214, allocations: 11.98 kB / 0.6893 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.9214, allocations: 17.88 kB / 0.6893 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.923, allocations: 208.9 kB / 0.6895 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000603/0.9236, allocations: 1.189 MB / 0.6907 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.9239, allocations: 25.22 kB / 0.6907 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.924, allocations: 47.97 kB / 0.6908 GB, free: 248 kB / 0.5294 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001937/0.9242, allocations: 161 kB / 0.6909 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.9242, allocations: 27.72 kB / 0.6909 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002925/0.9272, allocations: 2.872 MB / 0.6938 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.9272, allocations: 19.59 kB / 0.6938 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.9272, allocations: 8 kB / 0.6938 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.9272, allocations: 7.984 kB / 0.6938 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.9282, allocations: 0.9743 MB / 0.6947 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.9283, allocations: 4 kB / 0.6947 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.9288, allocations: 106.3 kB / 0.6948 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.9291, allocations: 162.8 kB / 0.695 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.9291, allocations: 11.23 kB / 0.695 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00044/0.9296, allocations: 0.6432 MB / 0.6956 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.9296, allocations: 10.03 kB / 0.6956 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.9308, allocations: 1.105 MB / 0.6967 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.9312, allocations: 348.2 kB / 0.6971 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.9313, allocations: 14.88 kB / 0.6971 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.9316, allocations: 18.92 kB / 0.6971 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.9317, allocations: 36.11 kB / 0.6971 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.9317, allocations: 18.86 kB / 0.6971 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005768/0.9323, allocations: 460.8 kB / 0.6976 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9323, allocations: 0 / 0.6976 GB, free: 10.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006296/0.9386, allocations: 1.624 MB / 0.6992 GB, free: 9.219 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01125/0.9499, allocations: 4.097 MB / 0.7032 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.9519, allocations: 0.53 MB / 0.7037 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.952, allocations: 4 kB / 0.7037 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.9525, allocations: 363 kB / 0.704 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/0.9535, allocations: 123 kB / 0.7042 GB, free: 4.219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.258/1.211, allocations: 10.62 MB / 0.7145 GB, free: 201.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009285/1.212, allocations: 1.003 MB / 0.7155 GB, free: 200.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001707/1.214, allocations: 0.5054 MB / 0.716 GB, free: 200.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005645/1.215, allocations: 312.6 kB / 0.7163 GB, free: 200.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/1.215, allocations: 0 / 0.7163 GB, free: 200.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/1.337, allocations: 67.05 MB / 0.7818 GB, free: 151.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/1.337, allocations: 232.7 kB / 0.782 GB, free: 151.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.117/7.454, allocations: 3.938 kB / 0.782 GB, free: 151.2 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat