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.001208/0.001208, allocations: 179.8 kB / 14.15 MB, free: 1.176 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.492/1.492, allocations: 221.3 MB / 236 MB, free: 2.957 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.0008438/0.0008438, allocations: 91.67 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2144/0.2144, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.347e-05, allocations: 0 / 451.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1493, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.938/8.087, allocations: 2.746 GB / 3.248 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/8.088, allocations: 74 kB / 3.248 GB, free: 123.4 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.2545/8.342, allocations: 65.88 MB / 3.313 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.993e-06/8.342, allocations: 0 / 3.313 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.063e-06/8.342, allocations: 0 / 3.313 GB, free: 77.62 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.002957/8.345, allocations: 0.566 MB / 3.313 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/8.345, allocations: 16.02 kB / 3.313 GB, free: 77 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/8.345, allocations: 33 kB / 3.313 GB, free: 76.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/8.346, allocations: 11.98 kB / 3.313 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/8.346, allocations: 159.1 kB / 3.313 GB, free: 76.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/8.346, allocations: 6.516 kB / 3.313 GB, free: 76.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/8.346, allocations: 4 kB / 3.313 GB, free: 76.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/8.346, allocations: 92.11 kB / 3.313 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/8.346, allocations: 7.984 kB / 3.313 GB, free: 76.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/8.346, allocations: 6.688 kB / 3.314 GB, free: 76.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/8.346, allocations: 3.938 kB / 3.314 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/8.346, allocations: 50.02 kB / 3.314 GB, free: 76.61 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.0005187/8.347, allocations: 361.3 kB / 3.314 GB, free: 76.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/8.347, allocations: 69.41 kB / 3.314 GB, free: 76.15 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/8.347, allocations: 12.8 kB / 3.314 GB, free: 76.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01441/8.362, allocations: 4.554 MB / 3.318 GB, free: 71.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/8.362, allocations: 30.56 kB / 3.318 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.915e-06/8.362, allocations: 0 / 3.318 GB, free: 71.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0006039/8.362, allocations: 112.9 kB / 3.319 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/8.362, allocations: 55.41 kB / 3.319 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/8.362, allocations: 100.4 kB / 3.319 GB, free: 71.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/8.362, allocations: 25.7 kB / 3.319 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/8.363, allocations: 91.98 kB / 3.319 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/8.363, allocations: 6.156 kB / 3.319 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/8.363, allocations: 0 / 3.319 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/8.363, allocations: 318.2 kB / 3.319 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/8.363, allocations: 8.125 kB / 3.319 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/8.363, allocations: 30 kB / 3.319 GB, free: 70.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.812e-05/8.363, allocations: 11.19 kB / 3.319 GB, free: 70.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/8.363, allocations: 0 / 3.319 GB, free: 70.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001419/8.363, allocations: 63.66 kB / 3.319 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/8.363, allocations: 5.094 kB / 3.319 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/8.363, allocations: 4 kB / 3.319 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/8.363, allocations: 4.062 kB / 3.319 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/8.363, allocations: 15.92 kB / 3.319 GB, free: 70.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/8.363, allocations: 0 / 3.319 GB, free: 70.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/8.363, allocations: 14.44 kB / 3.319 GB, free: 70.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/8.363, allocations: 0 / 3.319 GB, free: 70.46 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 7.855e-05/8.363, allocations: 108.9 kB / 3.319 GB, free: 70.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/8.363, allocations: 2.562 kB / 3.319 GB, free: 70.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/8.364, allocations: 379.2 kB / 3.32 GB, free: 70.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/8.364, allocations: 5.422 kB / 3.32 GB, free: 70.08 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/8.364, allocations: 4 kB / 3.32 GB, free: 70.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/8.364, allocations: 0 / 3.32 GB, free: 70.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/8.364, allocations: 285.2 kB / 3.32 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/8.364, allocations: 0 / 3.32 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/8.364, allocations: 4 kB / 3.32 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/8.364, allocations: 8 kB / 3.32 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/8.364, allocations: 0 / 3.32 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/8.364, allocations: 0 / 3.32 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/8.364, allocations: 0 / 3.32 GB, free: 69.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/8.365, allocations: 279.2 kB / 3.32 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/8.365, allocations: 88.95 kB / 3.32 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/8.365, allocations: 96 / 3.32 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/8.365, allocations: 3.984 kB / 3.32 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/8.365, allocations: 15.92 kB / 3.32 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/8.365, allocations: 7.938 kB / 3.32 GB, free: 69.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.733e-05/8.365, allocations: 79.28 kB / 3.32 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/8.365, allocations: 0 / 3.32 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002965/8.368, allocations: 455.7 kB / 3.321 GB, free: 68.88 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.005395/8.373, allocations: 1.348 MB / 3.322 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002462/8.374, allocations: 87.86 kB / 3.322 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/8.374, allocations: 0 / 3.322 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/8.374, allocations: 87.97 kB / 3.322 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/8.374, allocations: 8 kB / 3.322 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/8.376, allocations: 385.2 kB / 3.323 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/8.376, allocations: 0.7166 MB / 3.323 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.705e-05/8.377, allocations: 19.97 kB / 3.324 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/8.377, allocations: 31.42 kB / 3.324 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/8.377, allocations: 0 / 3.324 GB, free: 66.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/8.415, allocations: 15.94 MB / 3.339 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/8.416, allocations: 164.8 kB / 3.339 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/10.52, allocations: 0 / 3.339 GB, free: 50.04 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