Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009122/0.0009121, allocations: 89.7 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3946/0.3946, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 8 kB / 460 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3966, allocations: 61.91 MB / 0.5096 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.95/7.346, allocations: 2.747 GB / 3.256 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/7.347, allocations: 85.7 kB / 3.256 GB, free: 114.7 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.1588/7.505, allocations: 66.02 MB / 3.321 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/7.506, allocations: 0 / 3.321 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.869e-06/7.506, allocations: 3.938 kB / 3.321 GB, free: 48.45 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.002197/7.508, allocations: 0.577 MB / 3.321 GB, free: 47.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/7.508, allocations: 8.031 kB / 3.321 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/7.508, allocations: 38.56 kB / 3.321 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/7.508, allocations: 7.984 kB / 3.321 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.576e-05/7.508, allocations: 171 kB / 3.321 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/7.508, allocations: 3.953 kB / 3.321 GB, free: 47.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/7.508, allocations: 4 kB / 3.321 GB, free: 47.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/7.508, allocations: 87.36 kB / 3.322 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/7.508, allocations: 4 kB / 3.322 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/7.508, allocations: 0 / 3.322 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/7.508, allocations: 3.984 kB / 3.322 GB, free: 47.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/7.509, allocations: 51.89 kB / 3.322 GB, free: 47.39 MB / 0.5261 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.000334/7.509, allocations: 353 kB / 3.322 GB, free: 47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/7.509, allocations: 62.53 kB / 3.322 GB, free: 46.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/7.519, allocations: 4.535 MB / 3.326 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/7.519, allocations: 30.56 kB / 3.326 GB, free: 42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/7.519, allocations: 0 / 3.326 GB, free: 42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0004655/7.52, allocations: 101.6 kB / 3.327 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/7.52, allocations: 55.41 kB / 3.327 GB, free: 41.83 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.421e-05/7.52, allocations: 92.98 kB / 3.327 GB, free: 41.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/7.52, allocations: 25.7 kB / 3.327 GB, free: 41.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/7.52, allocations: 95.98 kB / 3.327 GB, free: 41.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/7.52, allocations: 7.812 kB / 3.327 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/7.52, allocations: 0 / 3.327 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.033e-05/7.52, allocations: 322.8 kB / 3.327 GB, free: 41.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/7.52, allocations: 7.984 kB / 3.327 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.694e-05/7.52, allocations: 34.58 kB / 3.327 GB, free: 41.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/7.52, allocations: 12 kB / 3.327 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/7.52, allocations: 0 / 3.327 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.343e-05/7.52, allocations: 65.61 kB / 3.327 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/7.52, allocations: 4 kB / 3.327 GB, free: 41.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/7.52, allocations: 0 / 3.327 GB, free: 41.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/7.52, allocations: 4 kB / 3.327 GB, free: 41.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/7.52, allocations: 8 kB / 3.327 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/7.52, allocations: 4.062 kB / 3.327 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/7.52, allocations: 7.844 kB / 3.327 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/7.52, allocations: 4 kB / 3.327 GB, free: 41.11 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 () * 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 5.968e-05/7.521, allocations: 122.3 kB / 3.327 GB, free: 40.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/7.521, allocations: 3.984 kB / 3.327 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/7.521, allocations: 378 kB / 3.328 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/7.521, allocations: 3.984 kB / 3.328 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/7.521, allocations: 0 / 3.328 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/7.521, allocations: 0 / 3.328 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/7.521, allocations: 286.1 kB / 3.328 GB, free: 40.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/7.521, allocations: 4 kB / 3.328 GB, free: 40.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/7.521, allocations: 4.188 kB / 3.328 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/7.521, allocations: 4 kB / 3.328 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/7.521, allocations: 0 / 3.328 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/7.521, allocations: 4 kB / 3.328 GB, free: 40.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/7.521, allocations: 4 kB / 3.328 GB, free: 40.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/7.521, allocations: 281.8 kB / 3.328 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/7.521, allocations: 92.94 kB / 3.328 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/7.521, allocations: 4 kB / 3.328 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/7.521, allocations: 4 kB / 3.328 GB, free: 39.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/7.522, allocations: 0 / 3.328 GB, free: 39.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/7.522, allocations: 4 kB / 3.328 GB, free: 39.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.492e-05/7.522, allocations: 79.28 kB / 3.329 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/7.522, allocations: 0 / 3.329 GB, free: 39.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002692/7.524, allocations: 463.6 kB / 3.329 GB, free: 39.3 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 () * 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.004889/7.529, allocations: 1.342 MB / 3.33 GB, free: 37.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001982/7.529, allocations: 75.92 kB / 3.33 GB, free: 37.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/7.529, allocations: 128 / 3.33 GB, free: 37.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/7.53, allocations: 95.91 kB / 3.33 GB, free: 37.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/7.53, allocations: 10.45 kB / 3.33 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/7.532, allocations: 0.5165 MB / 3.331 GB, free: 37.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/7.532, allocations: 0.7125 MB / 3.332 GB, free: 36.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001042/7.532, allocations: 27.91 kB / 3.332 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/7.532, allocations: 39.36 kB / 3.332 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of SimCode: time 6.92e-07/7.532, allocations: 0 / 3.332 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/7.567, allocations: 14.93 MB / 3.346 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/7.567, allocations: 188.5 kB / 3.346 GB, free: 21.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/9.698, allocations: 4.062 kB / 3.346 GB, free: 21.32 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat does not exist to compare? outputFormat=mat