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.001227/0.001227, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 98.94 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2542/0.2542, allocations: 45.15 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.942e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6506/0.7998, allocations: 237.5 MB / 0.7364 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.8002, allocations: 93.75 kB / 0.7365 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.249/2.049, allocations: 248.7 MB / 0.9794 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/2.049, allocations: 0 / 0.9794 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.185e-05/2.049, allocations: 18.62 kB / 0.9794 GB, free: 120.3 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.00346/2.053, allocations: 1.188 MB / 0.9806 GB, free: 120 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/2.053, allocations: 10.22 kB / 0.9806 GB, free: 120 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/2.054, allocations: 148 kB / 0.9807 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/2.055, allocations: 0.5466 MB / 0.9813 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/2.055, allocations: 83.91 kB / 0.9813 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.575e-05/2.055, allocations: 28.94 kB / 0.9814 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001069/2.056, allocations: 0.496 MB / 0.9819 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/2.058, allocations: 0.7371 MB / 0.9826 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/2.058, allocations: 3.594 kB / 0.9826 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/2.058, allocations: 3.594 kB / 0.9826 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.479e-05/2.058, allocations: 42.56 kB / 0.9826 GB, free: 119.4 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.005474/2.063, allocations: 4.382 MB / 0.9869 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005281/2.064, allocations: 295.7 kB / 0.9872 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/2.064, allocations: 131.2 kB / 0.9873 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/2.065, allocations: 420.8 kB / 0.9877 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/2.065, allocations: 37.34 kB / 0.9877 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/2.065, allocations: 3.562 kB / 0.9877 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.003704/2.068, allocations: 1.197 MB / 0.9889 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/2.068, allocations: 139.7 kB / 0.9891 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/2.069, allocations: 465.3 kB / 0.9895 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/2.069, allocations: 27.02 kB / 0.9895 GB, free: 115 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/2.069, allocations: 401 kB / 0.9899 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/2.069, allocations: 125.9 kB / 0.99 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/2.069, allocations: 0 / 0.99 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000123/2.07, allocations: 374.7 kB / 0.9904 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/2.07, allocations: 177.2 kB / 0.9905 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/2.07, allocations: 476.5 kB / 0.991 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/2.071, allocations: 324.6 kB / 0.9913 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/2.071, allocations: 2.75 kB / 0.9913 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001803/2.073, allocations: 0.7988 MB / 0.9921 GB, free: 114 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/2.073, allocations: 13.72 kB / 0.9921 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/2.073, allocations: 8.781 kB / 0.9921 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008632/2.074, allocations: 221.1 kB / 0.9923 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/2.074, allocations: 122.8 kB / 0.9924 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/2.076, allocations: 1.421 MB / 0.9938 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/2.076, allocations: 18.89 kB / 0.9939 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/2.077, allocations: 43.28 kB / 0.9939 GB, free: 113 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.0001815/2.077, allocations: 135.8 kB / 0.994 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001253/2.078, allocations: 493.4 kB / 0.9945 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/2.078, allocations: 63.12 kB / 0.9946 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/2.08, allocations: 0.6665 MB / 0.9952 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/2.08, allocations: 3.344 kB / 0.9952 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/2.08, allocations: 0.9688 kB / 0.9952 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/2.08, allocations: 3.953 kB / 0.9952 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/2.082, allocations: 1.126 MB / 0.9963 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/2.082, allocations: 3.781 kB / 0.9963 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/2.083, allocations: 39.05 kB / 0.9964 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005129/2.083, allocations: 166.4 kB / 0.9965 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/2.083, allocations: 6.594 kB / 0.9965 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009843/2.084, allocations: 1.31 MB / 0.9978 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.084, allocations: 3.5 kB / 0.9978 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/2.085, allocations: 0.7848 MB / 0.9986 GB, free: 111 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/2.086, allocations: 183.5 kB / 0.9987 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.211e-05/2.086, allocations: 7.25 kB / 0.9987 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/2.086, allocations: 15.45 kB / 0.9988 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/2.086, allocations: 25.14 kB / 0.9988 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/2.086, allocations: 24.48 kB / 0.9988 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004221/2.087, allocations: 343.6 kB / 0.9991 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/2.087, allocations: 0 / 0.9991 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001318/2.088, allocations: 266.3 kB / 0.9994 GB, free: 110.8 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.002224/2.09, allocations: 1.673 MB / 1.001 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009807/2.091, allocations: 480.1 kB / 1.001 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.091, allocations: 0 / 1.001 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003788/2.092, allocations: 203.1 kB / 1.002 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/2.093, allocations: 256.4 kB / 1.002 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/2.095, allocations: 1.03 MB / 1.003 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/2.096, allocations: 0.947 MB / 1.004 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007259/2.096, allocations: 242.8 kB / 1.004 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/2.097, allocations: 229.5 kB / 1.004 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/2.097, allocations: 0 / 1.004 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/2.141, allocations: 18 MB / 1.022 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/2.141, allocations: 193.8 kB / 1.022 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/4.7, allocations: 0 / 1.022 GB, free: 108.3 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