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.001008/0.001008, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.249/0.249, allocations: 45.91 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003711, allocations: 8 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 63.46 MB / 481.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.005162/0.1317, allocations: 3.868 MB / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003183/0.1349, allocations: 2.709 MB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.135, allocations: 0 / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.1353, allocations: 35.75 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.1372, allocations: 0.9039 MB / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1375, allocations: 138.4 kB / 489.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.1378, allocations: 203.5 kB / 489.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.1379, allocations: 13.55 kB / 489.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.1392, allocations: 0.7645 MB / 490.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1395, allocations: 143.6 kB / 490.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1395, allocations: 4 kB / 490.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.1417, allocations: 1.237 MB / 491.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.1417, allocations: 27.89 kB / 491.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.1418, allocations: 53.64 kB / 491.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.1424, allocations: 375.5 kB / 492 MB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1424, allocations: 3.938 kB / 492 MB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1424, allocations: 0 / 492 MB, free: 10.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1425, allocations: 0 / 492 MB, free: 10.74 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.0009388/0.1434, allocations: 0.53 MB / 492.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1435, allocations: 8.031 kB / 492.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.716e-05/0.1435, allocations: 54.55 kB / 492.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004103/0.144, allocations: 43.78 kB / 492.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1442, allocations: 206.8 kB / 492.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1442, allocations: 12 kB / 492.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1443, allocations: 27.94 kB / 492.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.1447, allocations: 245.5 kB / 493.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1447, allocations: 0 / 493.1 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.1447, allocations: 8 kB / 493.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1447, allocations: 4 kB / 493.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.1451, allocations: 237.4 kB / 493.3 MB, free: 9.25 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.001309/0.1464, allocations: 1.38 MB / 494.7 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1466, allocations: 86.55 kB / 494.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/0.1482, allocations: 2.063 MB / 496.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.1484, allocations: 169.3 kB / 497 MB, free: 4.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1484, allocations: 0 / 497 MB, free: 4.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008634/0.1493, allocations: 351 kB / 497.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.1495, allocations: 270 kB / 497.6 MB, free: 4.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1496, allocations: 161.2 kB / 497.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.1496, allocations: 33.69 kB / 497.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.1497, allocations: 135.8 kB / 498 MB, free: 3.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.1498, allocations: 75.02 kB / 498 MB, free: 3.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.1498, allocations: 4 kB / 498 MB, free: 3.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1499, allocations: 326.8 kB / 498.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.15, allocations: 43.97 kB / 498.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.1502, allocations: 183.2 kB / 498.6 MB, free: 3.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1503, allocations: 71.88 kB / 498.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1503, allocations: 4.609 kB / 498.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003865/0.1507, allocations: 261.1 kB / 498.9 MB, free: 2.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1508, allocations: 4 kB / 498.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1508, allocations: 8 kB / 498.9 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.1508, allocations: 8 kB / 498.9 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.1513, allocations: 92.53 kB / 499 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003448/0.1516, allocations: 0.6015 MB / 499.6 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.1518, allocations: 15.94 kB / 499.6 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.1518, allocations: 19.95 kB / 499.7 MB, free: 2.137 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.0001311/0.1519, allocations: 144.2 kB / 499.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.152, allocations: 19.81 kB / 499.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.1525, allocations: 235.8 kB / 0.4883 GB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1525, allocations: 0 / 0.4883 GB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1525, allocations: 4.062 kB / 0.4883 GB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1525, allocations: 4 kB / 0.4883 GB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.1529, allocations: 448.8 kB / 0.4888 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1529, allocations: 4 kB / 0.4888 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.1533, allocations: 51.94 kB / 0.4888 GB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1533, allocations: 0 / 0.4888 GB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1533, allocations: 8 kB / 0.4888 GB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002839/0.1536, allocations: 0.5899 MB / 0.4894 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1536, allocations: 0 / 0.4894 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.1538, allocations: 174 kB / 0.4896 GB, free: 316 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.1539, allocations: 120.9 kB / 0.4897 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.154, allocations: 8 kB / 0.4897 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1541, allocations: 3.984 kB / 0.4897 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.1541, allocations: 4 kB / 0.4897 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1541, allocations: 15.98 kB / 0.4897 GB, free: 144 kB / 366.1 MB Notification: Performance of sorting global known variables: time 8.95e-05/0.1542, allocations: 123.8 kB / 0.4898 GB, free: 20 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1542, allocations: 0 / 0.4898 GB, free: 20 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005112/0.1548, allocations: 140 kB / 0.49 GB, free: 15.88 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.001032/0.1558, allocations: 1.019 MB / 0.491 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.1562, allocations: 152 kB / 0.4911 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1563, allocations: 0 / 0.4911 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.1564, allocations: 51.91 kB / 0.4912 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1567, allocations: 36.98 kB / 0.4912 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.1592, allocations: 4.195 MB / 0.4953 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.1595, allocations: 0.7167 MB / 0.496 GB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.1597, allocations: 77.66 kB / 0.4961 GB, free: 9.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.1598, allocations: 59.39 kB / 0.4961 GB, free: 9.371 MB / 382.1 MB Notification: Performance of SimCode: time 3.216e-06/0.1598, allocations: 0 / 0.4961 GB, free: 9.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.1782, allocations: 5.801 MB / 0.5018 GB, free: 3.789 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/0.1785, allocations: 267 kB / 0.502 GB, free: 3.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.222, allocations: 0 / 0.502 GB, free: 3.434 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