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.001137/0.001137, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008266/0.0008267, allocations: 91.56 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1787/0.1787, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.902e-05, allocations: 8 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09881/0.09885, allocations: 63.25 MB / 0.5115 GB, free: 6.719 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.574, allocations: 238.2 MB / 0.7441 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5743, allocations: 96.72 kB / 0.7442 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.013/1.588, allocations: 250.8 MB / 0.9891 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.71e-07/1.588, allocations: 0 / 0.9891 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.57e-05/1.588, allocations: 21.39 kB / 0.9891 GB, free: 121.2 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.002923/1.591, allocations: 1.186 MB / 0.9903 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.591, allocations: 18.06 kB / 0.9903 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/1.591, allocations: 94.86 kB / 0.9904 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/1.592, allocations: 143.1 kB / 0.9905 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/1.593, allocations: 0.5474 MB / 0.991 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/1.593, allocations: 108.3 kB / 0.9911 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/1.593, allocations: 46.69 kB / 0.9912 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/1.595, allocations: 0.8116 MB / 0.992 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/1.595, allocations: 3.719 kB / 0.992 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/1.595, allocations: 23.02 kB / 0.992 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/1.595, allocations: 46.84 kB / 0.992 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009998/1.596, allocations: 0.5798 MB / 0.9926 GB, free: 120.2 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.003869/1.6, allocations: 4.489 MB / 0.997 GB, free: 117 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/1.6, allocations: 311.5 kB / 0.9973 GB, free: 117 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/1.6, allocations: 137.2 kB / 0.9974 GB, free: 117 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/1.601, allocations: 414.9 kB / 0.9978 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/1.601, allocations: 44.66 kB / 0.9979 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/1.601, allocations: 0 / 0.9979 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002626/1.603, allocations: 1.244 MB / 0.9991 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/1.603, allocations: 135 kB / 0.9992 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/1.604, allocations: 0.5657 MB / 0.9998 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/1.604, allocations: 35.11 kB / 0.9998 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/1.604, allocations: 397 kB / 1 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/1.604, allocations: 136.1 kB / 1 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/1.604, allocations: 15.19 kB / 1 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/1.604, allocations: 377.2 kB / 1.001 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/1.605, allocations: 188.8 kB / 1.001 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/1.605, allocations: 493.1 kB / 1.001 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/1.605, allocations: 281.7 kB / 1.002 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.605, allocations: 3.875 kB / 1.002 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001028/1.606, allocations: 0.848 MB / 1.002 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.606, allocations: 7.781 kB / 1.002 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.606, allocations: 10.88 kB / 1.002 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/1.607, allocations: 275.1 kB / 1.003 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/1.608, allocations: 121 kB / 1.003 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008149/1.609, allocations: 1.382 MB / 1.004 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/1.609, allocations: 45.56 kB / 1.004 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/1.609, allocations: 45.02 kB / 1.004 GB, free: 113.7 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 () * 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.0001237/1.609, allocations: 149.9 kB / 1.004 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/1.609, allocations: 70.72 kB / 1.004 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/1.61, allocations: 0.673 MB / 1.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/1.611, allocations: 2.125 kB / 1.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.611, allocations: 3.812 kB / 1.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.611, allocations: 4.781 kB / 1.005 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/1.612, allocations: 1.194 MB / 1.006 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.612, allocations: 0 / 1.006 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/1.612, allocations: 40.19 kB / 1.006 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007195/1.613, allocations: 189.5 kB / 1.007 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/1.613, allocations: 10.58 kB / 1.007 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006871/1.614, allocations: 1.298 MB / 1.008 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.614, allocations: 0 / 1.008 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/1.615, allocations: 0.7982 MB / 1.009 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/1.615, allocations: 197.9 kB / 1.009 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/1.615, allocations: 14.52 kB / 1.009 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/1.615, allocations: 21.64 kB / 1.009 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/1.615, allocations: 24.88 kB / 1.009 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/1.615, allocations: 21.72 kB / 1.009 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004167/1.616, allocations: 441.1 kB / 1.009 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.616, allocations: 3.688 kB / 1.009 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001003/1.617, allocations: 285.9 kB / 1.01 GB, free: 111.6 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 () * 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.001737/1.619, allocations: 1.693 MB / 1.011 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009527/1.62, allocations: 0.4935 MB / 1.012 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.62, allocations: 2.438 kB / 1.012 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003907/1.62, allocations: 210.8 kB / 1.012 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.621, allocations: 307.3 kB / 1.012 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/1.623, allocations: 1.092 MB / 1.013 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/1.624, allocations: 0.944 MB / 1.014 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006586/1.624, allocations: 255.7 kB / 1.014 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/1.625, allocations: 238.4 kB / 1.015 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/1.625, allocations: 0 / 1.015 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/1.657, allocations: 20.93 MB / 1.035 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.657, allocations: 244.6 kB / 1.035 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/4.005, allocations: 6.812 kB / 1.035 GB, free: 108.8 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