Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002606/0.002606, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.708/1.708, allocations: 227.2 MB / 245 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 105.5 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4928/0.4928, allocations: 45.24 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003549, allocations: 8 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4856, allocations: 63.25 MB / 0.5193 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.337/7.823, allocations: 2.748 GB / 3.267 GB, free: 146.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/7.823, allocations: 76.22 kB / 3.267 GB, free: 146.3 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Media.mo:950:7-950:66:writable] Error: Medium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.1685/7.992, allocations: 66.1 MB / 3.331 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.745e-06/7.992, allocations: 0 / 3.331 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.456e-06/7.992, allocations: 0 / 3.331 GB, free: 102.6 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002593/7.994, allocations: 0.5802 MB / 3.332 GB, free: 102 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/7.994, allocations: 8.031 kB / 3.332 GB, free: 102 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/7.995, allocations: 38.31 kB / 3.332 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/7.995, allocations: 11.94 kB / 3.332 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.404e-05/7.995, allocations: 167 kB / 3.332 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/7.995, allocations: 4 kB / 3.332 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/7.995, allocations: 0 / 3.332 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/7.995, allocations: 88.8 kB / 3.332 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/7.995, allocations: 4 kB / 3.332 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/7.995, allocations: 4 kB / 3.332 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/7.995, allocations: 0 / 3.332 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/7.995, allocations: 51.5 kB / 3.332 GB, free: 101.6 MB / 0.5417 GB 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.0004318/7.996, allocations: 358.9 kB / 3.333 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/7.996, allocations: 54.22 kB / 3.333 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/8.007, allocations: 5 MB / 3.338 GB, free: 95.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/8.007, allocations: 38.44 kB / 3.338 GB, free: 95.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/8.007, allocations: 4 kB / 3.338 GB, free: 95.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0004547/8.008, allocations: 108.2 kB / 3.338 GB, free: 95.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/8.008, allocations: 51.41 kB / 3.338 GB, free: 95.63 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/8.008, allocations: 92.94 kB / 3.338 GB, free: 95.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/8.008, allocations: 25.7 kB / 3.338 GB, free: 95.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/8.008, allocations: 96.03 kB / 3.338 GB, free: 95.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/8.008, allocations: 15.62 kB / 3.338 GB, free: 95.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/8.008, allocations: 4 kB / 3.338 GB, free: 95.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.155e-05/8.008, allocations: 315 kB / 3.338 GB, free: 95.08 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/8.008, allocations: 7.938 kB / 3.338 GB, free: 95.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/8.008, allocations: 26.5 kB / 3.338 GB, free: 95.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.889e-05/8.008, allocations: 11.94 kB / 3.338 GB, free: 95.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/8.008, allocations: 0 / 3.338 GB, free: 95.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.715e-05/8.008, allocations: 61.38 kB / 3.338 GB, free: 94.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/8.008, allocations: 8.062 kB / 3.338 GB, free: 94.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/8.008, allocations: 4 kB / 3.338 GB, free: 94.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/8.008, allocations: 0 / 3.338 GB, free: 94.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.661e-05/8.008, allocations: 11.98 kB / 3.338 GB, free: 94.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/8.008, allocations: 3.953 kB / 3.338 GB, free: 94.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.738e-05/8.008, allocations: 11.41 kB / 3.338 GB, free: 94.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/8.008, allocations: 0 / 3.338 GB, free: 94.94 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.157e-05/8.009, allocations: 116 kB / 3.339 GB, free: 94.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/8.009, allocations: 128 / 3.339 GB, free: 94.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/8.009, allocations: 372.1 kB / 3.339 GB, free: 94.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/8.009, allocations: 11.73 kB / 3.339 GB, free: 94.56 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/8.009, allocations: 0 / 3.339 GB, free: 94.56 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/8.009, allocations: 7.953 kB / 3.339 GB, free: 94.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/8.009, allocations: 276 kB / 3.339 GB, free: 94.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/8.009, allocations: 4 kB / 3.339 GB, free: 94.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/8.009, allocations: 4 kB / 3.339 GB, free: 94.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/8.009, allocations: 0 / 3.339 GB, free: 94.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/8.009, allocations: 4 kB / 3.339 GB, free: 94.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/8.009, allocations: 0 / 3.339 GB, free: 94.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/8.009, allocations: 0 / 3.339 GB, free: 94.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/8.01, allocations: 287.7 kB / 3.34 GB, free: 94.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/8.01, allocations: 88.89 kB / 3.34 GB, free: 93.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/8.01, allocations: 15.92 kB / 3.34 GB, free: 93.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/8.01, allocations: 3.938 kB / 3.34 GB, free: 93.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/8.01, allocations: 3.938 kB / 3.34 GB, free: 93.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/8.01, allocations: 4 kB / 3.34 GB, free: 93.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.559e-05/8.01, allocations: 75.28 kB / 3.34 GB, free: 93.83 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/8.01, allocations: 0 / 3.34 GB, free: 93.83 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00252/8.012, allocations: 470 kB / 3.34 GB, free: 93.39 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004161/8.017, allocations: 1.354 MB / 3.341 GB, free: 92.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001583/8.017, allocations: 81.47 kB / 3.342 GB, free: 92.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/8.017, allocations: 0 / 3.342 GB, free: 92.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/8.017, allocations: 91.8 kB / 3.342 GB, free: 91.97 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/8.017, allocations: 13.22 kB / 3.342 GB, free: 91.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/8.019, allocations: 0.5201 MB / 3.342 GB, free: 91.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/8.019, allocations: 0.7125 MB / 3.343 GB, free: 90.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.567e-05/8.019, allocations: 23.97 kB / 3.343 GB, free: 90.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/8.019, allocations: 30.48 kB / 3.343 GB, free: 90.66 MB / 0.5417 GB Notification: Performance of SimCode: time 1.353e-06/8.019, allocations: 0 / 3.343 GB, free: 90.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/8.053, allocations: 15.03 MB / 3.358 GB, free: 75.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/8.053, allocations: 175.6 kB / 3.358 GB, free: 75.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/10.22, allocations: 0 / 3.358 GB, free: 75.57 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat does not exist to compare? outputFormat=mat