Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 91.23 kB / 17 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 193.5 kB / 17.9 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 45.92 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1652, allocations: 63.46 MB / 481.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008306/0.1735, allocations: 4.741 MB / 486.4 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.1773, allocations: 2.439 MB / 488.8 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1775, allocations: 0 / 488.8 MB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.1778, allocations: 27.81 kB / 488.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.181, allocations: 0.9184 MB / 489.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1814, allocations: 142.9 kB / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006214/0.1821, allocations: 298.6 kB / 490.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.1821, allocations: 9.547 kB / 490.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.1838, allocations: 0.8076 MB / 491 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003756/0.1842, allocations: 155.5 kB / 491.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.1842, allocations: 8 kB / 491.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.187, allocations: 1.272 MB / 492.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.549e-05/0.1871, allocations: 35.83 kB / 492.5 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.1872, allocations: 57.64 kB / 492.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.1884, allocations: 375.2 kB / 492.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.1884, allocations: 0 / 492.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1884, allocations: 0 / 492.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1884, allocations: 0 / 492.9 MB, free: 9.918 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001437/0.1899, allocations: 0.5262 MB / 493.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.19, allocations: 8.031 kB / 493.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.1901, allocations: 54.55 kB / 493.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005036/0.1906, allocations: 43.78 kB / 493.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1909, allocations: 218.8 kB / 493.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1909, allocations: 15.94 kB / 493.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.191, allocations: 16 kB / 493.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.1914, allocations: 241.6 kB / 494 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1915, allocations: 3.938 kB / 494 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.1915, allocations: 8 kB / 494 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.1915, allocations: 4 kB / 494 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.192, allocations: 229.4 kB / 494.2 MB, free: 8.438 MB / 366.1 MB 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.001964/0.194, allocations: 1.368 MB / 495.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.1942, allocations: 86.55 kB / 495.7 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.1943, allocations: 40.84 kB / 495.7 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002121/0.1964, allocations: 2.067 MB / 497.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003855/0.1968, allocations: 169.3 kB / 498 MB, free: 4.105 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.265e-06/0.1969, allocations: 0 / 498 MB, free: 4.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001046/0.1979, allocations: 355.4 kB / 498.3 MB, free: 3.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/0.1981, allocations: 261 kB / 498.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.1983, allocations: 150.3 kB / 498.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.1984, allocations: 30.33 kB / 498.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1985, allocations: 151.7 kB / 498.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.524e-05/0.1986, allocations: 67.03 kB / 499 MB, free: 3.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.1986, allocations: 8 kB / 499 MB, free: 3.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1988, allocations: 327.6 kB / 499.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.1989, allocations: 39.97 kB / 499.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1991, allocations: 183.3 kB / 499.5 MB, free: 2.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1993, allocations: 67.94 kB / 499.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1993, allocations: 4 kB / 499.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004488/0.1997, allocations: 253.4 kB / 499.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.1998, allocations: 8 kB / 499.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.1998, allocations: 7.938 kB / 499.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1998, allocations: 11.98 kB / 499.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.2003, allocations: 95.88 kB / 499.9 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004396/0.2007, allocations: 0.6096 MB / 0.4888 GB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2009, allocations: 11.94 kB / 0.4888 GB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.201, allocations: 20 kB / 0.4889 GB, free: 1.293 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.2011, allocations: 141.7 kB / 0.489 GB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.2012, allocations: 15.81 kB / 0.489 GB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.2017, allocations: 231.8 kB / 0.4892 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.2018, allocations: 7.984 kB / 0.4892 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.2018, allocations: 4 kB / 0.4892 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2018, allocations: 3.953 kB / 0.4892 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.2024, allocations: 444.8 kB / 0.4897 GB, free: 360 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.2025, allocations: 4 kB / 0.4897 GB, free: 356 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/0.2028, allocations: 52.05 kB / 0.4897 GB, free: 304 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.2028, allocations: 0 / 0.4897 GB, free: 304 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2029, allocations: 8 kB / 0.4897 GB, free: 296 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003893/0.2032, allocations: 0.5937 MB / 0.4903 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2033, allocations: 0 / 0.4903 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.2035, allocations: 142.8 kB / 0.4904 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2036, allocations: 116.8 kB / 0.4906 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.2037, allocations: 4 kB / 0.4906 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2038, allocations: 3.984 kB / 0.4906 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.2038, allocations: 19.92 kB / 0.4906 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.2039, allocations: 4 kB / 0.4906 GB, free: 15.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.204, allocations: 127.8 kB / 0.4907 GB, free: 15.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.204, allocations: 4 kB / 0.4907 GB, free: 15.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006096/0.2046, allocations: 135.9 kB / 0.4908 GB, free: 15.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.2058, allocations: 0.8542 MB / 0.4917 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.2063, allocations: 163.9 kB / 0.4918 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2063, allocations: 0 / 0.4918 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.2065, allocations: 47.91 kB / 0.4919 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2069, allocations: 37.09 kB / 0.4919 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.2095, allocations: 1.46 MB / 0.4933 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2099, allocations: 0.7168 MB / 0.494 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003055/0.2102, allocations: 73.84 kB / 0.4941 GB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.2104, allocations: 63.33 kB / 0.4942 GB, free: 11.5 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2104, allocations: 4 kB / 0.4942 GB, free: 11.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.2336, allocations: 5.83 MB / 0.4999 GB, free: 5.898 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/0.2339, allocations: 286.9 kB / 0.5001 GB, free: 5.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/2.411, allocations: 0 / 0.5001 GB, free: 5.531 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat