Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001829/0.001829, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.732/1.732, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 103.5 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5495/0.5495, allocations: 45.22 MB / 394.6 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003188, allocations: 8 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5417, allocations: 63.25 MB / 0.5193 GB, free: 43.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6532/1.195, allocations: 238.3 MB / 0.752 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/1.195, allocations: 103.4 kB / 0.7521 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9024/2.098, allocations: 251.3 MB / 0.9975 GB, free: 108 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.903e-06/2.098, allocations: 0 / 0.9975 GB, free: 108 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.307e-05/2.098, allocations: 20 kB / 0.9975 GB, free: 108 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002937/2.101, allocations: 1.273 MB / 0.9988 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/2.101, allocations: 12.03 kB / 0.9988 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/2.101, allocations: 101.7 kB / 0.9989 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009976/2.102, allocations: 139.1 kB / 0.999 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/2.103, allocations: 0.5515 MB / 0.9995 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/2.103, allocations: 100.4 kB / 0.9996 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.758e-05/2.103, allocations: 47.91 kB / 0.9997 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/2.105, allocations: 0.8246 MB / 1 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/2.105, allocations: 0 / 1 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/2.105, allocations: 35.84 kB / 1.001 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/2.105, allocations: 44.97 kB / 1.001 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009472/2.106, allocations: 0.5892 MB / 1.001 GB, free: 104.1 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004295/2.11, allocations: 4.483 MB / 1.006 GB, free: 99.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/2.111, allocations: 318.9 kB / 1.006 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/2.111, allocations: 417.6 kB / 1.006 GB, free: 98.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/2.111, allocations: 38.56 kB / 1.006 GB, free: 98.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 3.206e-06/2.111, allocations: 3.938 kB / 1.006 GB, free: 98.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.003746/2.115, allocations: 1.526 MB / 1.008 GB, free: 96.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/2.115, allocations: 136.5 kB / 1.008 GB, free: 96.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/2.115, allocations: 0.5696 MB / 1.008 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/2.115, allocations: 33.7 kB / 1.008 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/2.116, allocations: 390.4 kB / 1.009 GB, free: 95.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/2.116, allocations: 130.1 kB / 1.009 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/2.116, allocations: 12 kB / 1.009 GB, free: 95.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/2.116, allocations: 382.8 kB / 1.009 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/2.116, allocations: 197.9 kB / 1.01 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/2.116, allocations: 0.4902 MB / 1.01 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/2.117, allocations: 288.6 kB / 1.01 GB, free: 94.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/2.117, allocations: 4 kB / 1.01 GB, free: 94.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001163/2.118, allocations: 0.8524 MB / 1.011 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/2.118, allocations: 8 kB / 1.011 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/2.118, allocations: 8 kB / 1.011 GB, free: 93.15 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/2.119, allocations: 285.6 kB / 1.011 GB, free: 92.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/2.12, allocations: 119.8 kB / 1.012 GB, free: 92.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009493/2.121, allocations: 1.399 MB / 1.013 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/2.121, allocations: 31.89 kB / 1.013 GB, free: 91.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/2.121, allocations: 44 kB / 1.013 GB, free: 91.22 MB / 0.5261 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 () * Number of clocked 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.0003768/2.122, allocations: 249.5 kB / 1.013 GB, free: 90.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/2.122, allocations: 71.22 kB / 1.013 GB, free: 90.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/2.123, allocations: 0.6859 MB / 1.014 GB, free: 90.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/2.123, allocations: 4 kB / 1.014 GB, free: 90.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.123, allocations: 0 / 1.014 GB, free: 90.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/2.123, allocations: 7.938 kB / 1.014 GB, free: 90.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/2.125, allocations: 1.196 MB / 1.015 GB, free: 88.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/2.125, allocations: 0 / 1.015 GB, free: 88.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/2.125, allocations: 39.92 kB / 1.015 GB, free: 88.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008242/2.126, allocations: 209.4 kB / 1.015 GB, free: 88.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/2.126, allocations: 8 kB / 1.015 GB, free: 88.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007767/2.127, allocations: 1.307 MB / 1.017 GB, free: 87.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.127, allocations: 0 / 1.017 GB, free: 87.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/2.128, allocations: 0.8056 MB / 1.017 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/2.128, allocations: 188.2 kB / 1.018 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/2.128, allocations: 8 kB / 1.018 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/2.129, allocations: 23.98 kB / 1.018 GB, free: 86.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/2.129, allocations: 31.97 kB / 1.018 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/2.129, allocations: 23.98 kB / 1.018 GB, free: 86.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004953/2.129, allocations: 447 kB / 1.018 GB, free: 85.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/2.129, allocations: 0 / 1.018 GB, free: 85.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001082/2.13, allocations: 279.9 kB / 1.018 GB, free: 85.47 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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.001857/2.132, allocations: 1.722 MB / 1.02 GB, free: 83.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009497/2.133, allocations: 0.5046 MB / 1.021 GB, free: 83.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/2.133, allocations: 0 / 1.021 GB, free: 83.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/2.134, allocations: 212 kB / 1.021 GB, free: 83.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/2.135, allocations: 293.5 kB / 1.021 GB, free: 82.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006725/2.142, allocations: 10.35 MB / 1.031 GB, free: 72.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/2.142, allocations: 0.9461 MB / 1.032 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008277/2.143, allocations: 254 kB / 1.032 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/2.143, allocations: 227.4 kB / 1.033 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of SimCode: time 8.82e-07/2.143, allocations: 4 kB / 1.033 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/2.182, allocations: 21.01 MB / 1.053 GB, free: 49.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/2.182, allocations: 268.1 kB / 1.053 GB, free: 49.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/4.987, allocations: 0 / 1.053 GB, free: 49.64 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat