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.001076/0.001076, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000885/0.0008847, allocations: 91.86 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 45.15 MB / 383.8 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.817e-05, allocations: 4 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1463, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.158/7.305, allocations: 2.747 GB / 3.251 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/7.305, allocations: 67.08 kB / 3.251 GB, free: 90.77 MB / 0.5261 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.1554/7.46, allocations: 64.99 MB / 3.315 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/7.46, allocations: 0 / 3.315 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.969e-06/7.46, allocations: 0 / 3.315 GB, free: 36.14 MB / 0.5261 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.001861/7.462, allocations: 0.5723 MB / 3.315 GB, free: 35.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/7.462, allocations: 8.031 kB / 3.315 GB, free: 35.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/7.462, allocations: 8.625 kB / 3.315 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.421e-05/7.462, allocations: 171 kB / 3.316 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/7.462, allocations: 7.938 kB / 3.316 GB, free: 35.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/7.463, allocations: 4 kB / 3.316 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.059e-05/7.463, allocations: 16 kB / 3.316 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.149e-05/7.463, allocations: 67.34 kB / 3.316 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/7.463, allocations: 0 / 3.316 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/7.463, allocations: 3.984 kB / 3.316 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/7.463, allocations: 0 / 3.316 GB, free: 35.2 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.0003011/7.463, allocations: 337.5 kB / 3.316 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.445e-05/7.463, allocations: 34.58 kB / 3.316 GB, free: 34.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/7.463, allocations: 12.94 kB / 3.316 GB, free: 34.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/7.473, allocations: 5.01 MB / 3.321 GB, free: 29.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/7.473, allocations: 34.5 kB / 3.321 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/7.473, allocations: 0 / 3.321 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.000318/7.474, allocations: 81.64 kB / 3.321 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/7.474, allocations: 59.36 kB / 3.321 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.555e-05/7.474, allocations: 92.91 kB / 3.321 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/7.474, allocations: 25.7 kB / 3.321 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/7.474, allocations: 84.14 kB / 3.321 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/7.474, allocations: 19.73 kB / 3.321 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-06/7.474, allocations: 0 / 3.321 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.232e-05/7.474, allocations: 314.8 kB / 3.322 GB, free: 28.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/7.474, allocations: 4 kB / 3.322 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/7.474, allocations: 26.7 kB / 3.322 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/7.474, allocations: 19.92 kB / 3.322 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/7.474, allocations: 0 / 3.322 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.642e-05/7.474, allocations: 53.69 kB / 3.322 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/7.474, allocations: 4 kB / 3.322 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/7.474, allocations: 0 / 3.322 GB, free: 28.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/7.474, allocations: 7.938 kB / 3.322 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/7.474, allocations: 11.94 kB / 3.322 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/7.474, allocations: 4.062 kB / 3.322 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/7.474, allocations: 11.8 kB / 3.322 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/7.474, allocations: 4 kB / 3.322 GB, free: 28.4 MB / 0.5261 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 () * 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 4.337e-05/7.474, allocations: 109 kB / 3.322 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.944e-05/7.474, allocations: 45.78 kB / 3.322 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/7.474, allocations: 7.984 kB / 3.322 GB, free: 28.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/7.475, allocations: 375.2 kB / 3.322 GB, free: 27.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/7.475, allocations: 3.984 kB / 3.322 GB, free: 27.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/7.475, allocations: 3.953 kB / 3.322 GB, free: 27.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/7.475, allocations: 4 kB / 3.322 GB, free: 27.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/7.475, allocations: 246.9 kB / 3.322 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/7.475, allocations: 4 kB / 3.322 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/7.475, allocations: 8 kB / 3.322 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/7.475, allocations: 0 / 3.322 GB, free: 27.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/7.475, allocations: 4 kB / 3.323 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/7.475, allocations: 3.984 kB / 3.323 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.475, allocations: 0 / 3.323 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/7.475, allocations: 281.9 kB / 3.323 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/7.475, allocations: 96.8 kB / 3.323 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/7.475, allocations: 0 / 3.323 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/7.475, allocations: 0 / 3.323 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.148e-05/7.475, allocations: 4 kB / 3.323 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/7.475, allocations: 4 kB / 3.323 GB, free: 27.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.413e-05/7.475, allocations: 79.28 kB / 3.323 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/7.475, allocations: 0 / 3.323 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001799/7.477, allocations: 459.7 kB / 3.323 GB, free: 26.6 MB / 0.5261 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 () * 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.002047/7.479, allocations: 1.365 MB / 3.325 GB, free: 25.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001064/7.479, allocations: 83.86 kB / 3.325 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/7.479, allocations: 4.125 kB / 3.325 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/7.479, allocations: 79.98 kB / 3.325 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/7.48, allocations: 19.91 kB / 3.325 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/7.48, allocations: 392 kB / 3.325 GB, free: 24.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/7.48, allocations: 0.7084 MB / 3.326 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.395e-05/7.481, allocations: 23.97 kB / 3.326 GB, free: 23.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/7.481, allocations: 27.42 kB / 3.326 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/7.481, allocations: 4 kB / 3.326 GB, free: 23.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/7.514, allocations: 13.67 MB / 3.339 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/7.514, allocations: 150.5 kB / 3.34 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/9.51, allocations: 3.938 kB / 3.34 GB, free: 9.949 MB / 0.5261 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