Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.002705/0.002705, allocations: 180.2 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.24/2.24, 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.001098/0.001098, allocations: 86.64 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.2947/0.2947, allocations: 43.48 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.277e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 58.86 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.22, allocations: 240.8 MB / 0.7081 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/1.22, allocations: 97.14 kB / 0.7082 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.412/2.632, allocations: 277.8 MB / 0.9794 GB, free: 106 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.854e-06/2.632, allocations: 0 / 0.9794 GB, free: 106 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.63e-05/2.632, allocations: 16 kB / 0.9794 GB, free: 106 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005342/2.637, allocations: 1.56 MB / 0.981 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/2.638, allocations: 15.97 kB / 0.981 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/2.638, allocations: 98.5 kB / 0.9811 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/2.639, allocations: 139 kB / 0.9812 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/2.641, allocations: 0.5509 MB / 0.9817 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/2.641, allocations: 100.3 kB / 0.9818 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/2.641, allocations: 48 kB / 0.9819 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/2.643, allocations: 0.82 MB / 0.9827 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/2.644, allocations: 3.953 kB / 0.9827 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/2.644, allocations: 26.91 kB / 0.9827 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.133e-05/2.644, allocations: 48.86 kB / 0.9827 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/2.645, allocations: 0.5659 MB / 0.9833 GB, free: 101.9 MB / 0.4948 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.006842/2.652, allocations: 4.43 MB / 0.9876 GB, free: 97.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009068/2.653, allocations: 318.8 kB / 0.9879 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/2.653, allocations: 140.8 kB / 0.9881 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/2.654, allocations: 340.4 kB / 0.9884 GB, free: 96.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/2.654, allocations: 38.56 kB / 0.9884 GB, free: 96.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.497e-06/2.654, allocations: 7.656 kB / 0.9884 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.004627/2.658, allocations: 1.251 MB / 0.9897 GB, free: 94.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/2.659, allocations: 139.4 kB / 0.9898 GB, free: 94.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/2.66, allocations: 0.5659 MB / 0.9903 GB, free: 94.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.944e-05/2.66, allocations: 33.7 kB / 0.9904 GB, free: 94.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/2.66, allocations: 424.8 kB / 0.9908 GB, free: 93.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/2.66, allocations: 126.2 kB / 0.9909 GB, free: 93.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/2.66, allocations: 16 kB / 0.9909 GB, free: 93.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/2.66, allocations: 345.6 kB / 0.9912 GB, free: 93.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/2.661, allocations: 193.5 kB / 0.9914 GB, free: 93.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/2.662, allocations: 495.1 kB / 0.9919 GB, free: 92.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/2.662, allocations: 288.8 kB / 0.9922 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/2.662, allocations: 0 / 0.9922 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002133/2.664, allocations: 0.81 MB / 0.993 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/2.665, allocations: 8.781 kB / 0.993 GB, free: 91.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/2.665, allocations: 8 kB / 0.993 GB, free: 91.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/2.667, allocations: 286.4 kB / 0.9933 GB, free: 91.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/2.668, allocations: 122.5 kB / 0.9934 GB, free: 91.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/2.669, allocations: 1.396 MB / 0.9947 GB, free: 89.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/2.67, allocations: 39.92 kB / 0.9948 GB, free: 89.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/2.671, allocations: 40 kB / 0.9948 GB, free: 89.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002643/2.671, allocations: 152.4 kB / 0.995 GB, free: 89.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/2.671, allocations: 79.09 kB / 0.995 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/2.673, allocations: 0.6882 MB / 0.9957 GB, free: 88.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/2.673, allocations: 4 kB / 0.9957 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/2.673, allocations: 0 / 0.9957 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/2.673, allocations: 3.984 kB / 0.9957 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/2.676, allocations: 1.215 MB / 0.9969 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.676, allocations: 3.594 kB / 0.9969 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/2.677, allocations: 47.88 kB / 0.9969 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/2.678, allocations: 197.4 kB / 0.9971 GB, free: 87.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/2.678, allocations: 12.06 kB / 0.9971 GB, free: 87.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/2.679, allocations: 1.295 MB / 0.9984 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/2.679, allocations: 7.359 kB / 0.9984 GB, free: 85.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/2.681, allocations: 0.8141 MB / 0.9992 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/2.681, allocations: 204.2 kB / 0.9994 GB, free: 84.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/2.682, allocations: 8 kB / 0.9994 GB, free: 84.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/2.682, allocations: 23.98 kB / 0.9994 GB, free: 84.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/2.682, allocations: 22.75 kB / 0.9995 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.01e-05/2.683, allocations: 23.98 kB / 0.9995 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008036/2.683, allocations: 447.1 kB / 0.9999 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/2.683, allocations: 0 / 0.9999 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001821/2.685, allocations: 383.6 kB / 1 GB, free: 83.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003528/2.689, allocations: 1.851 MB / 1.002 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001488/2.69, allocations: 0.5023 MB / 1.003 GB, free: 81.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/2.69, allocations: 4 kB / 1.003 GB, free: 81.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006619/2.691, allocations: 203.7 kB / 1.003 GB, free: 81.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/2.693, allocations: 317 kB / 1.003 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/2.697, allocations: 1.169 MB / 1.004 GB, free: 79.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/2.698, allocations: 0.9426 MB / 1.005 GB, free: 78.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/2.698, allocations: 247.1 kB / 1.005 GB, free: 78.52 MB / 0.4948 GB Notification: Performance of SimCode: time 1.814e-06/2.698, allocations: 0 / 1.005 GB, free: 78.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.384/6.082, allocations: 21.37 MB / 1.026 GB, free: 57.27 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat