Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001751/0.001751, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2235/0.2235, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003224/0.003224, allocations: 82.73 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1351, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008701/0.1439, allocations: 5.311 MB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.1479, allocations: 2.647 MB / 488.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1482, allocations: 0 / 488.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1485, allocations: 43.69 kB / 488.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.1521, allocations: 1.096 MB / 489.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004095/0.1525, allocations: 147.1 kB / 489.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.1531, allocations: 302.6 kB / 489.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.701e-05/0.1531, allocations: 13.55 kB / 489.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.1545, allocations: 0.7408 MB / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1548, allocations: 159.5 kB / 490.7 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.1549, allocations: 8 kB / 490.7 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/0.1573, allocations: 1.283 MB / 491.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.1574, allocations: 31.84 kB / 492 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1575, allocations: 83.59 kB / 492.1 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009865/0.1585, allocations: 0.5418 MB / 492.6 MB, free: 8.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1585, allocations: 3.938 kB / 492.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1585, allocations: 4 kB / 492.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1585, allocations: 0 / 492.6 MB, free: 8.684 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.001068/0.1596, allocations: 0.5614 MB / 493.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1596, allocations: 8.031 kB / 493.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.165e-05/0.1597, allocations: 54.73 kB / 493.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.1602, allocations: 40.72 kB / 493.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1605, allocations: 220 kB / 493.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1605, allocations: 16.12 kB / 493.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.1605, allocations: 16 kB / 493.5 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.161, allocations: 248.5 kB / 493.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.161, allocations: 0 / 493.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.161, allocations: 8 kB / 493.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1611, allocations: 8 kB / 493.8 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.1615, allocations: 237.3 kB / 494 MB, free: 7.156 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.001453/0.163, allocations: 1.361 MB / 495.4 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.1632, allocations: 92.78 kB / 495.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.434e-05/0.1633, allocations: 40.84 kB / 495.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/0.1652, allocations: 2.055 MB / 497.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00033/0.1655, allocations: 169.5 kB / 497.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.784e-06/0.1655, allocations: 0 / 497.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009918/0.1665, allocations: 359.9 kB / 498.1 MB, free: 2.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.1667, allocations: 265 kB / 498.3 MB, free: 2.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1668, allocations: 156.7 kB / 498.5 MB, free: 2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1669, allocations: 29.7 kB / 498.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.167, allocations: 147.7 kB / 498.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.1671, allocations: 63.09 kB / 498.7 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.1672, allocations: 73.75 kB / 498.8 MB, free: 1.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1673, allocations: 318.8 kB / 499.1 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.1674, allocations: 43.97 kB / 499.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.1677, allocations: 194.6 kB / 499.3 MB, free: 1.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.168, allocations: 250.4 kB / 499.6 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.168, allocations: 3.938 kB / 499.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004424/0.1685, allocations: 257.4 kB / 499.8 MB, free: 496 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1685, allocations: 8.656 kB / 499.8 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1685, allocations: 4 kB / 499.8 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1685, allocations: 8 kB / 499.9 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.169, allocations: 99.86 kB / 499.9 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004389/0.1695, allocations: 0.6018 MB / 0.4888 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.1696, allocations: 11.94 kB / 0.4888 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.1697, allocations: 20 kB / 0.4889 GB, free: 15.71 MB / 382.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.1698, allocations: 145.6 kB / 0.489 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.1699, allocations: 15.81 kB / 0.489 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.1704, allocations: 235.9 kB / 0.4892 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1704, allocations: 0 / 0.4892 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1704, allocations: 3.938 kB / 0.4892 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1704, allocations: 4 kB / 0.4892 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.171, allocations: 440.8 kB / 0.4897 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.171, allocations: 4 kB / 0.4897 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.1714, allocations: 56.05 kB / 0.4897 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1714, allocations: 3.938 kB / 0.4897 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1714, allocations: 8 kB / 0.4897 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003694/0.1718, allocations: 0.586 MB / 0.4903 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1718, allocations: 3.938 kB / 0.4903 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1721, allocations: 146.7 kB / 0.4904 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.1722, allocations: 100.9 kB / 0.4905 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1722, allocations: 7.938 kB / 0.4905 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.1723, allocations: 4 kB / 0.4905 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1724, allocations: 11.98 kB / 0.4906 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1724, allocations: 8 kB / 0.4906 GB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.1725, allocations: 123.2 kB / 0.4907 GB, free: 13.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1725, allocations: 4 kB / 0.4907 GB, free: 13.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005584/0.1731, allocations: 139.9 kB / 0.4908 GB, free: 13.51 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/0.1742, allocations: 0.8517 MB / 0.4917 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005148/0.1748, allocations: 163.9 kB / 0.4918 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1748, allocations: 0 / 0.4918 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.175, allocations: 51.91 kB / 0.4919 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.1754, allocations: 53.12 kB / 0.4919 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.1789, allocations: 2.515 MB / 0.4944 GB, free: 9.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.1793, allocations: 0.7128 MB / 0.4951 GB, free: 8.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003212/0.1797, allocations: 81.62 kB / 0.4951 GB, free: 8.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1798, allocations: 51.42 kB / 0.4952 GB, free: 8.762 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1798, allocations: 4 kB / 0.4952 GB, free: 8.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.2135, allocations: 6.636 MB / 0.5017 GB, free: 2.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.09, allocations: 13.19 kB / 0.5017 GB, free: 2.301 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1)