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.001028/0.001028, allocations: 175.7 kB / 8.741 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 93.84 kB / 281.6 MB, free: 5.32 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.2176/0.2176, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.054e-05, allocations: 0 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1522, allocations: 61.93 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.27/8.422, allocations: 2.746 GB / 3.241 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/8.422, allocations: 74.92 kB / 3.241 GB, free: 112.4 MB / 0.5105 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.1615/8.584, allocations: 64.92 MB / 3.304 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.076e-06/8.584, allocations: 4 kB / 3.304 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.831e-06/8.584, allocations: 0 / 3.304 GB, free: 93.59 MB / 0.5105 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.002365/8.586, allocations: 0.5596 MB / 3.305 GB, free: 93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/8.586, allocations: 11.98 kB / 3.305 GB, free: 92.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/8.587, allocations: 15.8 kB / 3.305 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/8.587, allocations: 159.1 kB / 3.305 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/8.587, allocations: 7.953 kB / 3.305 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/8.587, allocations: 7.562 kB / 3.305 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.115e-05/8.587, allocations: 20 kB / 3.305 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/8.587, allocations: 67.2 kB / 3.305 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/8.587, allocations: 0 / 3.305 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/8.587, allocations: 0 / 3.305 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/8.587, allocations: 3.938 kB / 3.305 GB, free: 92.68 MB / 0.5105 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.0003491/8.587, allocations: 336.5 kB / 3.305 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/8.587, allocations: 38.47 kB / 3.305 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/8.587, allocations: 8.859 kB / 3.305 GB, free: 92.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/8.598, allocations: 4.546 MB / 3.31 GB, free: 87.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/8.598, allocations: 42.5 kB / 3.31 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/8.598, allocations: 3.938 kB / 3.31 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0003461/8.598, allocations: 77.64 kB / 3.31 GB, free: 87.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/8.598, allocations: 51.41 kB / 3.31 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.964e-05/8.598, allocations: 96.91 kB / 3.31 GB, free: 87.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/8.598, allocations: 25.7 kB / 3.31 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/8.598, allocations: 87.98 kB / 3.31 GB, free: 87.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.218e-06/8.598, allocations: 11.89 kB / 3.31 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/8.598, allocations: 4.125 kB / 3.31 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/8.598, allocations: 314.8 kB / 3.31 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/8.598, allocations: 4 kB / 3.31 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/8.598, allocations: 22.58 kB / 3.31 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/8.598, allocations: 19.88 kB / 3.31 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/8.599, allocations: 0 / 3.31 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001045/8.599, allocations: 65.59 kB / 3.31 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/8.599, allocations: 8 kB / 3.31 GB, free: 86.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/8.599, allocations: 0 / 3.31 GB, free: 86.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/8.599, allocations: 0 / 3.31 GB, free: 86.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/8.599, allocations: 11.94 kB / 3.31 GB, free: 86.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/8.599, allocations: 4 kB / 3.31 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/8.599, allocations: 3.938 kB / 3.31 GB, free: 86.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/8.599, allocations: 3.938 kB / 3.31 GB, free: 86.75 MB / 0.5105 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 5.007e-05/8.599, allocations: 112.9 kB / 3.311 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.034e-05/8.599, allocations: 45.77 kB / 3.311 GB, free: 86.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/8.599, allocations: 7.984 kB / 3.311 GB, free: 86.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/8.599, allocations: 363.3 kB / 3.311 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/8.599, allocations: 11.98 kB / 3.311 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/8.599, allocations: 144 / 3.311 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/8.599, allocations: 7.984 kB / 3.311 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/8.6, allocations: 250.6 kB / 3.311 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/8.6, allocations: 0 / 3.311 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/8.6, allocations: 4 kB / 3.311 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/8.6, allocations: 0 / 3.311 GB, free: 85.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/8.6, allocations: 4 kB / 3.311 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/8.6, allocations: 0 / 3.311 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/8.6, allocations: 3.984 kB / 3.311 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/8.6, allocations: 285.8 kB / 3.312 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/8.6, allocations: 88.86 kB / 3.312 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/8.6, allocations: 4 kB / 3.312 GB, free: 85.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/8.6, allocations: 4.188 kB / 3.312 GB, free: 85.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/8.6, allocations: 0 / 3.312 GB, free: 85.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/8.6, allocations: 8 kB / 3.312 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.106e-05/8.6, allocations: 79.28 kB / 3.312 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/8.6, allocations: 0 / 3.312 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002339/8.602, allocations: 455.7 kB / 3.312 GB, free: 84.96 MB / 0.5105 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.002433/8.605, allocations: 1.357 MB / 3.313 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001375/8.605, allocations: 79.86 kB / 3.314 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/8.605, allocations: 0 / 3.314 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.536e-05/8.605, allocations: 79.98 kB / 3.314 GB, free: 83.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/8.605, allocations: 18.22 kB / 3.314 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008692/8.606, allocations: 392.1 kB / 3.314 GB, free: 82.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/8.606, allocations: 0.7096 MB / 3.315 GB, free: 82.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.772e-05/8.606, allocations: 23.95 kB / 3.315 GB, free: 82.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/8.606, allocations: 27.44 kB / 3.315 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/8.606, allocations: 0 / 3.315 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04319/8.65, allocations: 13.59 MB / 3.328 GB, free: 68.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/8.65, allocations: 144.5 kB / 3.328 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/10.8, allocations: 0 / 3.328 GB, free: 68.41 MB / 0.5105 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