Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002374/0.002374, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.223/2.223, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001116/0.001115, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2923/0.2923, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.721e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.568/8.702, allocations: 2.752 GB / 3.225 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/8.703, allocations: 79.8 kB / 3.225 GB, free: 86.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.247/9.95, allocations: 215.7 MB / 3.435 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.304e-06/9.95, allocations: 0 / 3.435 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.81e-05/9.95, allocations: 4 kB / 3.435 GB, free: 93.02 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.00901/9.959, allocations: 1.752 MB / 3.437 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/9.959, allocations: 12.02 kB / 3.437 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/9.959, allocations: 66.55 kB / 3.437 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/9.962, allocations: 223.5 kB / 3.437 GB, free: 90.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/9.962, allocations: 274.7 kB / 3.438 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/9.962, allocations: 24.78 kB / 3.438 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/9.962, allocations: 32 kB / 3.438 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/9.965, allocations: 0.8578 MB / 3.438 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/9.965, allocations: 7.953 kB / 3.438 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/9.965, allocations: 12 kB / 3.438 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/9.966, allocations: 8 kB / 3.438 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/9.969, allocations: 0.9583 MB / 3.439 GB, free: 88.67 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.005137/9.974, allocations: 2.769 MB / 3.442 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/9.976, allocations: 418.1 kB / 3.443 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/9.976, allocations: 76.83 kB / 3.443 GB, free: 85.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427/11.4, allocations: 224.8 MB / 3.662 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003098/11.41, allocations: 0.4992 MB / 3.663 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 6.071e-06/11.41, allocations: 0 / 3.663 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.006679/11.41, allocations: 0.792 MB / 3.663 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/11.41, allocations: 371.6 kB / 3.664 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/11.41, allocations: 168.1 kB / 3.664 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-05/11.41, allocations: 32.84 kB / 3.664 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/11.41, allocations: 263.4 kB / 3.664 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/11.41, allocations: 115.7 kB / 3.664 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/11.41, allocations: 12.5 kB / 3.664 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001007/11.41, allocations: 327.4 kB / 3.665 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/11.41, allocations: 71.06 kB / 3.665 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/11.42, allocations: 330.5 kB / 3.665 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/11.42, allocations: 126.6 kB / 3.665 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/11.42, allocations: 4 kB / 3.665 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001948/11.42, allocations: 443.4 kB / 3.666 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/11.42, allocations: 12.25 kB / 3.666 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/11.42, allocations: 8 kB / 3.666 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.078e-05/11.42, allocations: 23.95 kB / 3.666 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/11.42, allocations: 133.1 kB / 3.666 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.555e-05/11.42, allocations: 22.39 kB / 3.666 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009642/11.42, allocations: 51.78 kB / 3.666 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/11.42, allocations: 44.2 kB / 3.666 GB, free: 26.77 MB / 0.5105 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.00026/11.42, allocations: 145.2 kB / 3.666 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/11.42, allocations: 23.81 kB / 3.666 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/11.42, allocations: 1.768 MB / 3.668 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.547e-05/11.42, allocations: 19.23 kB / 3.668 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/11.42, allocations: 4 kB / 3.668 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/11.42, allocations: 7.703 kB / 3.668 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/11.43, allocations: 0.8966 MB / 3.669 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/11.43, allocations: 5.203 kB / 3.669 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/11.43, allocations: 88.41 kB / 3.669 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.996e-05/11.43, allocations: 4 kB / 3.669 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.858e-05/11.43, allocations: 21.92 kB / 3.669 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-05/11.43, allocations: 4 kB / 3.669 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/11.43, allocations: 7.953 kB / 3.669 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/11.43, allocations: 0.829 MB / 3.67 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/11.43, allocations: 337.9 kB / 3.67 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/11.43, allocations: 6.875 kB / 3.67 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/11.43, allocations: 25.94 kB / 3.67 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/11.43, allocations: 46.38 kB / 3.67 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/11.43, allocations: 23.12 kB / 3.67 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001032/11.43, allocations: 424.8 kB / 3.67 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.81e-07/11.43, allocations: 0 / 3.67 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01041/11.44, allocations: 1.518 MB / 3.672 GB, free: 22.56 MB / 0.5105 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.02156/11.47, allocations: 3.97 MB / 3.676 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001423/11.47, allocations: 395.4 kB / 3.676 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/11.47, allocations: 0 / 3.676 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/11.47, allocations: 282.4 kB / 3.676 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/11.47, allocations: 121.2 kB / 3.676 GB, free: 18.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.506/14.98, allocations: 0.756 GB / 4.433 GB, free: 68.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/14.98, allocations: 0.9701 MB / 4.433 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005425/14.98, allocations: 300 kB / 4.434 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.472e-06/14.98, allocations: 0 / 4.434 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.746/18.72, allocations: 37.16 MB / 4.47 GB, free: 36.27 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat