Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, allocations: 93.7 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 205 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 8 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1308, allocations: 63.46 MB / 481.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01552/0.1463, allocations: 14.25 MB / 495.8 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007324/0.1537, allocations: 4.075 MB / 499.9 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.1552, allocations: 27.75 kB / 499.9 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.1564, allocations: 266.6 kB / 0.4884 GB, free: 2.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.1591, allocations: 0.7009 MB / 0.4891 GB, free: 1.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.1618, allocations: 0.693 MB / 0.4898 GB, free: 1.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.164, allocations: 1.024 MB / 0.4908 GB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.1649, allocations: 397.2 kB / 0.4912 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.1665, allocations: 0.6309 MB / 0.4918 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006897/0.1672, allocations: 430.5 kB / 0.4922 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/0.1673, allocations: 32 kB / 0.4922 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008436/0.1682, allocations: 235.7 kB / 0.4924 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.1685, allocations: 219.4 kB / 0.4927 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.1687, allocations: 161.4 kB / 0.4928 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009736/0.1697, allocations: 0.7562 MB / 0.4935 GB, free: 13.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1697, allocations: 0 / 0.4935 GB, free: 13.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1697, allocations: 4 kB / 0.4935 GB, free: 13.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.1697, allocations: 0 / 0.4935 GB, free: 13.37 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002189/0.1719, allocations: 0.9232 MB / 0.4944 GB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.172, allocations: 8.562 kB / 0.4945 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.1721, allocations: 102.5 kB / 0.4946 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003645/0.1725, allocations: 95.06 kB / 0.4946 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.1736, allocations: 492.6 kB / 0.4951 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.1737, allocations: 104.4 kB / 0.4952 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.606e-05/0.1738, allocations: 44 kB / 0.4953 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.1752, allocations: 0.8143 MB / 0.4961 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1753, allocations: 7.953 kB / 0.4961 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/0.1753, allocations: 24 kB / 0.4961 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.859e-05/0.1754, allocations: 44.91 kB / 0.4961 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.1765, allocations: 0.6361 MB / 0.4967 GB, free: 9.902 MB / 382.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.005186/0.1817, allocations: 4.237 MB / 0.5009 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008415/0.1825, allocations: 427.7 kB / 0.5013 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/0.1831, allocations: 0.4911 MB / 0.5018 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1831, allocations: 38.89 kB / 0.5018 GB, free: 4.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.013e-06/0.1831, allocations: 0 / 0.5018 GB, free: 4.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003403/0.1865, allocations: 1.526 MB / 0.5033 GB, free: 2.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.1866, allocations: 140.5 kB / 0.5034 GB, free: 2.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007028/0.1873, allocations: 0.5692 MB / 0.504 GB, free: 1.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.1874, allocations: 37.7 kB / 0.504 GB, free: 1.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.1877, allocations: 351 kB / 0.5044 GB, free: 1.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.1878, allocations: 165.7 kB / 0.5045 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.1879, allocations: 12 kB / 0.5045 GB, free: 1.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1881, allocations: 374.8 kB / 0.5049 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.1884, allocations: 225.9 kB / 0.5051 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.1891, allocations: 0.5127 MB / 0.5056 GB, free: 164 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2259/0.415, allocations: 312.4 kB / 0.5059 GB, free: 23.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.415, allocations: 3 kB / 0.5059 GB, free: 23.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002086/0.4171, allocations: 0.9617 MB / 0.5068 GB, free: 23.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4172, allocations: 12.34 kB / 0.5069 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.4172, allocations: 8.938 kB / 0.5069 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.4183, allocations: 269.2 kB / 0.5071 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.4188, allocations: 125.9 kB / 0.5072 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00084/0.4196, allocations: 0.8651 MB / 0.5081 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.4202, allocations: 48.38 kB / 0.5081 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.471e-05/0.4203, allocations: 32.61 kB / 0.5082 GB, free: 22.72 MB / 382.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: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.000329/0.4206, allocations: 243.9 kB / 0.5084 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4207, allocations: 71.14 kB / 0.5085 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.4221, allocations: 0.7199 MB / 0.5092 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4221, allocations: 6.359 kB / 0.5092 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4221, allocations: 0 / 0.5092 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.4221, allocations: 4.25 kB / 0.5092 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.4242, allocations: 1.409 MB / 0.5105 GB, free: 22.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.4242, allocations: 6.281 kB / 0.5106 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009982/0.4252, allocations: 194.6 kB / 0.5107 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/0.4255, allocations: 68.64 kB / 0.5108 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.4256, allocations: 10.84 kB / 0.5108 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.4273, allocations: 2.802 MB / 0.5136 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.4274, allocations: 7.531 kB / 0.5136 GB, free: 19.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.4289, allocations: 1.077 MB / 0.5146 GB, free: 19.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.4293, allocations: 207.7 kB / 0.5148 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.4294, allocations: 12.83 kB / 0.5148 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.4298, allocations: 29.8 kB / 0.5149 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.4299, allocations: 40.88 kB / 0.5149 GB, free: 19.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.553e-05/0.4299, allocations: 23.66 kB / 0.5149 GB, free: 19.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005196/0.4305, allocations: 391 kB / 0.5153 GB, free: 19.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4305, allocations: 0 / 0.5153 GB, free: 19.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008267/0.4313, allocations: 210.4 kB / 0.5155 GB, free: 19.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002144/0.4335, allocations: 2.235 MB / 0.5177 GB, free: 17.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.4347, allocations: 0.5996 MB / 0.5183 GB, free: 17.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4347, allocations: 1.469 kB / 0.5183 GB, free: 17.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.4358, allocations: 489.3 kB / 0.5187 GB, free: 17.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.4376, allocations: 322.7 kB / 0.519 GB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008717/0.4463, allocations: 10.5 MB / 0.5293 GB, free: 9.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.447, allocations: 0.9536 MB / 0.5302 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009907/0.448, allocations: 203.2 kB / 0.5304 GB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.4483, allocations: 229.1 kB / 0.5306 GB, free: 8.938 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4483, allocations: 0 / 0.5306 GB, free: 8.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.4859, allocations: 19.98 MB / 0.5501 GB, free: 14.33 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.4862, allocations: 297.2 kB / 0.5504 GB, free: 13.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.749, allocations: 7.438 kB / 0.5504 GB, free: 13.96 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat