Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001176/0.001176, allocations: 103.3 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 45.92 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002628, allocations: 12 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1357, allocations: 63.46 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005086/0.1408, allocations: 4.46 MB / 486.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004642/0.1455, allocations: 4.208 MB / 490.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1457, allocations: 0 / 490.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.146, allocations: 39.78 kB / 490.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.1478, allocations: 0.5361 MB / 490.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1482, allocations: 146.3 kB / 491 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005757/0.1488, allocations: 390.1 kB / 491.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.282e-05/0.1488, allocations: 9.688 kB / 491.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1491, allocations: 143.5 kB / 491.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.1493, allocations: 135.5 kB / 491.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.1493, allocations: 4 kB / 491.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.15, allocations: 263.8 kB / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.1501, allocations: 43.81 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.1502, allocations: 65.58 kB / 492 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.1506, allocations: 279.7 kB / 492.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1506, allocations: 0 / 492.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1506, allocations: 0 / 492.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1506, allocations: 0 / 492.3 MB, free: 10.54 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009745/0.1516, allocations: 0.5421 MB / 492.9 MB, free: 9.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1516, allocations: 8.031 kB / 492.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.813e-05/0.1517, allocations: 58.55 kB / 492.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.1519, allocations: 31.7 kB / 493 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1521, allocations: 226.7 kB / 493.2 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.1523, allocations: 127.3 kB / 493.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1523, allocations: 27.98 kB / 493.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.1528, allocations: 311.7 kB / 493.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1528, allocations: 7.938 kB / 493.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.1529, allocations: 8 kB / 493.6 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.1529, allocations: 15.98 kB / 493.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.1537, allocations: 0.7313 MB / 494.4 MB, free: 8.305 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.001253/0.155, allocations: 1.246 MB / 495.6 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.1553, allocations: 142.8 kB / 495.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1554, allocations: 72.83 kB / 495.9 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002423/0.1579, allocations: 2.67 MB / 498.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1579, allocations: 42.48 kB / 498.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.1579, allocations: 4 kB / 498.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006828/0.1586, allocations: 208.9 kB / 498.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.1587, allocations: 55.41 kB / 498.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1589, allocations: 219.5 kB / 499 MB, free: 2.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1589, allocations: 33.64 kB / 499.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.159, allocations: 206.8 kB / 499.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.1591, allocations: 55.28 kB / 499.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.1591, allocations: 8 kB / 499.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1592, allocations: 330.8 kB / 499.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.1593, allocations: 48.84 kB / 499.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.1596, allocations: 312.3 kB / 0.4883 GB, free: 1.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1597, allocations: 103.9 kB / 0.4884 GB, free: 1.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1597, allocations: 0 / 0.4884 GB, free: 1.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005168/0.1602, allocations: 373.6 kB / 0.4887 GB, free: 1.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1603, allocations: 8 kB / 0.4888 GB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.1603, allocations: 12 kB / 0.4888 GB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.1603, allocations: 12 kB / 0.4888 GB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.1607, allocations: 111.8 kB / 0.4889 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.1607, allocations: 15.94 kB / 0.4889 GB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.1609, allocations: 16 kB / 0.4889 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.161, allocations: 35.92 kB / 0.489 GB, free: 1.191 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.1611, allocations: 149.7 kB / 0.4891 GB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.1612, allocations: 27.67 kB / 0.4891 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1615, allocations: 158.4 kB / 0.4893 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1615, allocations: 0 / 0.4893 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1615, allocations: 0 / 0.4893 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1615, allocations: 0 / 0.4893 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.162, allocations: 439.2 kB / 0.4897 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.1621, allocations: 4 kB / 0.4897 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1622, allocations: 27.98 kB / 0.4897 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1622, allocations: 4.031 kB / 0.4897 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1623, allocations: 7.984 kB / 0.4897 GB, free: 328 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1623, allocations: 4 kB / 0.4897 GB, free: 324 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1623, allocations: 0 / 0.4897 GB, free: 324 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1625, allocations: 216 kB / 0.4899 GB, free: 88 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1626, allocations: 108.8 kB / 0.49 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1627, allocations: 8.125 kB / 0.4901 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1629, allocations: 11.98 kB / 0.4901 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.1629, allocations: 19.97 kB / 0.4901 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1629, allocations: 4 kB / 0.4901 GB, free: 15.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1631, allocations: 148.5 kB / 0.4902 GB, free: 15.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1631, allocations: 0 / 0.4902 GB, free: 15.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004898/0.1636, allocations: 96 kB / 0.4903 GB, free: 15.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006215/0.1642, allocations: 0.8149 MB / 0.4911 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.1645, allocations: 173.1 kB / 0.4913 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1645, allocations: 8.25 kB / 0.4913 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.389e-05/0.1646, allocations: 35.92 kB / 0.4913 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.165, allocations: 59.33 kB / 0.4914 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.1671, allocations: 1.39 MB / 0.4927 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1674, allocations: 0.7326 MB / 0.4935 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.1677, allocations: 62.77 kB / 0.4935 GB, free: 12.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1678, allocations: 59.42 kB / 0.4936 GB, free: 12.12 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1678, allocations: 0 / 0.4936 GB, free: 12.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.1851, allocations: 5.202 MB / 0.4986 GB, free: 7.105 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.1854, allocations: 212.6 kB / 0.4989 GB, free: 6.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/2.186, allocations: 0 / 0.4989 GB, free: 6.863 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat