Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.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.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_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.0009008/0.0009009, allocations: 94.59 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001243/0.001243, allocations: 192.6 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.416/1.416, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2426/0.2426, allocations: 45.92 MB / 344.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002951, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 63.47 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01662/0.1542, allocations: 15.58 MB / 497.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007633/0.1619, allocations: 5.211 MB / 0.4907 GB, free: 444 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008457/0.1628, allocations: 31.75 kB / 0.4907 GB, free: 412 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.1636, allocations: 250.4 kB / 0.4909 GB, free: 160 kB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001899/0.1655, allocations: 0.7851 MB / 0.4917 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.1678, allocations: 0.7812 MB / 0.4925 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002668/0.1705, allocations: 2.191 MB / 0.4946 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006769/0.1712, allocations: 377.3 kB / 0.495 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.1726, allocations: 0.6499 MB / 0.4956 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008987/0.1735, allocations: 0.6072 MB / 0.4962 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.269e-05/0.1736, allocations: 28 kB / 0.4962 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007984/0.1744, allocations: 207.8 kB / 0.4964 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.1747, allocations: 231.3 kB / 0.4966 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.1749, allocations: 161.3 kB / 0.4968 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008872/0.1758, allocations: 0.7949 MB / 0.4976 GB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1758, allocations: 0 / 0.4976 GB, free: 9.344 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1758, allocations: 0 / 0.4976 GB, free: 9.344 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1758, allocations: 0 / 0.4976 GB, free: 9.344 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.00174/0.1775, allocations: 0.9154 MB / 0.4984 GB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1776, allocations: 8.031 kB / 0.4985 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.1777, allocations: 102.5 kB / 0.4986 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.178, allocations: 95.02 kB / 0.4986 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007455/0.1788, allocations: 496.7 kB / 0.4991 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.1789, allocations: 100.4 kB / 0.4992 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.179, allocations: 51.98 kB / 0.4993 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1802, allocations: 0.8295 MB / 0.5001 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.1802, allocations: 7.844 kB / 0.5001 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.1803, allocations: 27.98 kB / 0.5001 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-05/0.1804, allocations: 40.94 kB / 0.5001 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.1814, allocations: 0.6438 MB / 0.5008 GB, free: 5.852 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.004306/0.1857, allocations: 4.332 MB / 0.505 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.1863, allocations: 347.8 kB / 0.5053 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.1866, allocations: 169.3 kB / 0.5055 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2279/0.4145, allocations: 1.693 MB / 0.5072 GB, free: 42.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4145, allocations: 37.94 kB / 0.5072 GB, free: 41.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.4146, allocations: 0.5625 kB / 0.5072 GB, free: 41.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.00349/0.418, allocations: 1.405 MB / 0.5086 GB, free: 41.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4181, allocations: 140.7 kB / 0.5087 GB, free: 41.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.4189, allocations: 0.6213 MB / 0.5093 GB, free: 41.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.419, allocations: 34.77 kB / 0.5093 GB, free: 41.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.4192, allocations: 398.5 kB / 0.5097 GB, free: 41.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.045e-05/0.4193, allocations: 133.2 kB / 0.5098 GB, free: 40.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.4194, allocations: 12.34 kB / 0.5099 GB, free: 40.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4195, allocations: 377.9 kB / 0.5102 GB, free: 40.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.4199, allocations: 189.4 kB / 0.5104 GB, free: 40.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.4204, allocations: 0.551 MB / 0.5109 GB, free: 40.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.4209, allocations: 303.4 kB / 0.5112 GB, free: 40.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.4209, allocations: 4.219 kB / 0.5112 GB, free: 40.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001539/0.4224, allocations: 0.8248 MB / 0.512 GB, free: 39.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4225, allocations: 11.06 kB / 0.512 GB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.4225, allocations: 11.34 kB / 0.5121 GB, free: 39.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.4229, allocations: 106.2 kB / 0.5122 GB, free: 39.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.4236, allocations: 179.8 kB / 0.5123 GB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005278/0.4242, allocations: 0.6646 MB / 0.513 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.4247, allocations: 44.98 kB / 0.513 GB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/0.4248, allocations: 41.78 kB / 0.5131 GB, free: 39.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003071/0.4251, allocations: 258.9 kB / 0.5133 GB, free: 39.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4252, allocations: 65.81 kB / 0.5134 GB, free: 39.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008685/0.4261, allocations: 0.4985 MB / 0.5139 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4261, allocations: 4.781 kB / 0.5139 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4261, allocations: 0 / 0.5139 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4261, allocations: 8.125 kB / 0.5139 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.4279, allocations: 1.214 MB / 0.5151 GB, free: 38.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4279, allocations: 5.984 kB / 0.5151 GB, free: 38.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.4282, allocations: 76.53 kB / 0.5151 GB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/0.4284, allocations: 37.11 kB / 0.5152 GB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.4284, allocations: 15 kB / 0.5152 GB, free: 38.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002538/0.4287, allocations: 0.5574 MB / 0.5157 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.4287, allocations: 6.922 kB / 0.5157 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.4296, allocations: 0.7216 MB / 0.5164 GB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.4298, allocations: 194.5 kB / 0.5166 GB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.4299, allocations: 10.48 kB / 0.5166 GB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.4303, allocations: 32.72 kB / 0.5167 GB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.4304, allocations: 38.44 kB / 0.5167 GB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.4304, allocations: 21.66 kB / 0.5167 GB, free: 36.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005322/0.4309, allocations: 448 kB / 0.5171 GB, free: 36.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4309, allocations: 0 / 0.5171 GB, free: 36.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008048/0.4318, allocations: 204.4 kB / 0.5173 GB, free: 36.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (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 (36): * Single equations (assignments): 35 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.4331, allocations: 1.394 MB / 0.5187 GB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000933/0.4341, allocations: 0.4951 MB / 0.5192 GB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4341, allocations: 1.281 kB / 0.5192 GB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.4344, allocations: 169.9 kB / 0.5194 GB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4359, allocations: 322.3 kB / 0.5197 GB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005783/0.4417, allocations: 4.146 MB / 0.5237 GB, free: 33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4422, allocations: 0.9345 MB / 0.5246 GB, free: 32.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008096/0.443, allocations: 209.3 kB / 0.5248 GB, free: 32.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.4433, allocations: 228.3 kB / 0.525 GB, free: 32.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4433, allocations: 3.609 kB / 0.525 GB, free: 32.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.4779, allocations: 18.53 MB / 0.5431 GB, free: 19.1 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004052/0.4784, allocations: 294.1 kB / 0.5434 GB, free: 18.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/2.713, allocations: 8 kB / 0.5434 GB, free: 18.74 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat