Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009114/0.0009114, allocations: 88.27 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4416/0.4416, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.35e-05, allocations: 0 / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1789, allocations: 58.83 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.787/7.966, allocations: 2.752 GB / 3.225 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/7.967, allocations: 80.56 kB / 3.225 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.877/8.844, allocations: 215.7 MB / 3.435 GB, free: 74.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.435e-06/8.844, allocations: 0.5625 kB / 3.435 GB, free: 74.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.422e-05/8.844, allocations: 4 kB / 3.435 GB, free: 74.45 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.01059/8.854, allocations: 1.757 MB / 3.437 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/8.854, allocations: 10.34 kB / 3.437 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/8.855, allocations: 65.88 kB / 3.437 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/8.857, allocations: 227 kB / 3.437 GB, free: 73.47 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/8.857, allocations: 273.3 kB / 3.438 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/8.857, allocations: 23.84 kB / 3.438 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.921e-05/8.857, allocations: 30.47 kB / 3.438 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/8.86, allocations: 0.8583 MB / 3.438 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/8.86, allocations: 2.906 kB / 3.438 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/8.86, allocations: 21.17 kB / 3.438 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/8.86, allocations: 6.844 kB / 3.439 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/8.862, allocations: 0.9539 MB / 3.439 GB, free: 73.11 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.003338/8.865, allocations: 2.769 MB / 3.442 GB, free: 71.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/8.866, allocations: 416.8 kB / 3.443 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/8.867, allocations: 76.19 kB / 3.443 GB, free: 71.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9474/9.814, allocations: 224.8 MB / 3.662 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001646/9.816, allocations: 0.4939 MB / 3.663 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 4.599e-06/9.816, allocations: 3.969 kB / 3.663 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.002924/9.819, allocations: 0.7832 MB / 3.663 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.821e-05/9.819, allocations: 382.5 kB / 3.664 GB, free: 51.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/9.819, allocations: 165 kB / 3.664 GB, free: 51.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/9.819, allocations: 30.52 kB / 3.664 GB, free: 51.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/9.819, allocations: 184.7 kB / 3.664 GB, free: 51.72 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/9.819, allocations: 111.6 kB / 3.664 GB, free: 51.67 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/9.819, allocations: 10.81 kB / 3.664 GB, free: 51.67 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/9.819, allocations: 338.5 kB / 3.665 GB, free: 51.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/9.82, allocations: 70.08 kB / 3.665 GB, free: 51.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/9.82, allocations: 338.8 kB / 3.665 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/9.82, allocations: 130.3 kB / 3.665 GB, free: 51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/9.82, allocations: 3.938 kB / 3.665 GB, free: 51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008133/9.821, allocations: 440.8 kB / 3.665 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/9.821, allocations: 15.61 kB / 3.666 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/9.821, allocations: 8.938 kB / 3.666 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.695e-05/9.821, allocations: 15.56 kB / 3.666 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/9.822, allocations: 136.6 kB / 3.666 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/9.822, allocations: 19.55 kB / 3.666 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/9.822, allocations: 54.39 kB / 3.666 GB, free: 50.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/9.822, allocations: 38.34 kB / 3.666 GB, free: 50.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 0.0001454/9.822, allocations: 149.6 kB / 3.666 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/9.822, allocations: 30.92 kB / 3.666 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/9.824, allocations: 1.757 MB / 3.668 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/9.824, allocations: 18.92 kB / 3.668 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/9.824, allocations: 3.875 kB / 3.668 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/9.824, allocations: 7.391 kB / 3.668 GB, free: 50.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/9.825, allocations: 0.8967 MB / 3.669 GB, free: 50.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/9.825, allocations: 5.938 kB / 3.669 GB, free: 50.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/9.826, allocations: 88.78 kB / 3.669 GB, free: 50.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/9.826, allocations: 8.031 kB / 3.669 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/9.826, allocations: 18.23 kB / 3.669 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/9.826, allocations: 8.938 kB / 3.669 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/9.826, allocations: 3.938 kB / 3.669 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/9.827, allocations: 0.8179 MB / 3.669 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/9.827, allocations: 338.2 kB / 3.67 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/9.827, allocations: 14.75 kB / 3.67 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/9.828, allocations: 18.55 kB / 3.67 GB, free: 49.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-05/9.828, allocations: 39.95 kB / 3.67 GB, free: 49.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/9.828, allocations: 30.44 kB / 3.67 GB, free: 49.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005434/9.828, allocations: 421 kB / 3.67 GB, free: 49.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.813e-06/9.828, allocations: 0 / 3.67 GB, free: 49.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008545/9.837, allocations: 1.52 MB / 3.672 GB, free: 49.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0158/9.853, allocations: 3.98 MB / 3.676 GB, free: 47.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001181/9.854, allocations: 389.7 kB / 3.676 GB, free: 47.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/9.854, allocations: 4.062 kB / 3.676 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/9.855, allocations: 283.7 kB / 3.676 GB, free: 47.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/9.856, allocations: 126 kB / 3.676 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.783/12.64, allocations: 0.7565 GB / 4.433 GB, free: 80.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/12.64, allocations: 0.9747 MB / 4.434 GB, free: 80.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001484/12.64, allocations: 1.065 MB / 4.435 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/12.64, allocations: 288.7 kB / 4.435 GB, free: 79.84 MB / 0.5261 GB Notification: Performance of SimCode: time 1.573e-06/12.64, allocations: 3.969 kB / 4.435 GB, free: 79.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09249/12.73, allocations: 46.39 MB / 4.481 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/12.73, allocations: 175.8 kB / 4.481 GB, free: 69.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.979/16.71, allocations: 0 / 4.481 GB, free: 69.4 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat