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.001048/0.001048, allocations: 100.7 kB / 17.01 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 194.7 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.204/0.204, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002859, allocations: 11.94 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1204, allocations: 63.46 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01877/0.1392, allocations: 19.17 MB / 0.4891 GB, free: 2.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005868/0.1451, allocations: 4.148 MB / 0.4931 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007699/0.1459, allocations: 27.75 kB / 0.4932 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008047/0.1468, allocations: 254.4 kB / 0.4934 GB, free: 13.61 MB / 382.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.002014/0.1488, allocations: 0.7849 MB / 0.4942 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.1507, allocations: 0.6922 MB / 0.4948 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.153, allocations: 2.203 MB / 0.497 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/0.1536, allocations: 389.1 kB / 0.4974 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.1553, allocations: 0.7781 MB / 0.4981 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009067/0.1562, allocations: 0.6228 MB / 0.4987 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/0.1563, allocations: 32 kB / 0.4988 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007376/0.157, allocations: 203.8 kB / 0.499 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002492/0.1573, allocations: 227.3 kB / 0.4992 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.1575, allocations: 165.3 kB / 0.4993 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008195/0.1583, allocations: 0.7718 MB / 0.5001 GB, free: 6.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1583, allocations: 0 / 0.5001 GB, free: 6.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1583, allocations: 0 / 0.5001 GB, free: 6.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1584, allocations: 0 / 0.5001 GB, free: 6.742 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.001733/0.1601, allocations: 0.9271 MB / 0.501 GB, free: 5.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1601, allocations: 12.5 kB / 0.501 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.1603, allocations: 102.5 kB / 0.5011 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.1606, allocations: 95.03 kB / 0.5012 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.1613, allocations: 484.7 kB / 0.5017 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.1614, allocations: 104.4 kB / 0.5018 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.1615, allocations: 52 kB / 0.5018 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.1627, allocations: 0.8172 MB / 0.5026 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1627, allocations: 11.89 kB / 0.5026 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.1628, allocations: 24 kB / 0.5026 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-05/0.1628, allocations: 40.98 kB / 0.5027 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009973/0.1638, allocations: 0.6438 MB / 0.5033 GB, free: 3.262 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.2423/0.4061, allocations: 4.202 MB / 0.5074 GB, free: 40.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009812/0.4071, allocations: 412.3 kB / 0.5078 GB, free: 40.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.4075, allocations: 204 kB / 0.508 GB, free: 40.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/0.4079, allocations: 0.4995 MB / 0.5085 GB, free: 40.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.4079, allocations: 44.73 kB / 0.5085 GB, free: 40.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.374e-06/0.408, allocations: 2.062 kB / 0.5085 GB, free: 40.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003249/0.4112, allocations: 1.517 MB / 0.51 GB, free: 39.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.4113, allocations: 135.3 kB / 0.5101 GB, free: 39.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.4121, allocations: 0.5664 MB / 0.5107 GB, free: 39.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.4122, allocations: 35.58 kB / 0.5107 GB, free: 39.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.4124, allocations: 353.5 kB / 0.5111 GB, free: 39.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4126, allocations: 164.4 kB / 0.5112 GB, free: 39.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.4126, allocations: 16.34 kB / 0.5112 GB, free: 39.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4127, allocations: 379.6 kB / 0.5116 GB, free: 38.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.4131, allocations: 221.7 kB / 0.5118 GB, free: 38.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.4136, allocations: 0.5212 MB / 0.5123 GB, free: 38.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.4141, allocations: 317.8 kB / 0.5126 GB, free: 38.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4141, allocations: 3.188 kB / 0.5126 GB, free: 38.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001953/0.4161, allocations: 0.9652 MB / 0.5136 GB, free: 38.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.4161, allocations: 12 kB / 0.5136 GB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.4161, allocations: 9.188 kB / 0.5136 GB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.4172, allocations: 278 kB / 0.5138 GB, free: 38.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.4176, allocations: 124.1 kB / 0.514 GB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008832/0.4185, allocations: 0.8551 MB / 0.5148 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/0.4192, allocations: 49.05 kB / 0.5148 GB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.4192, allocations: 37.41 kB / 0.5149 GB, free: 37.37 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.0003591/0.4196, allocations: 245.1 kB / 0.5151 GB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.4197, allocations: 71.08 kB / 0.5152 GB, free: 37.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.4211, allocations: 0.7111 MB / 0.5159 GB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4211, allocations: 5.406 kB / 0.5159 GB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4211, allocations: 0.7031 kB / 0.5159 GB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.4211, allocations: 7.344 kB / 0.5159 GB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.4235, allocations: 1.402 MB / 0.5173 GB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4235, allocations: 2.562 kB / 0.5173 GB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008806/0.4244, allocations: 190.9 kB / 0.5174 GB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.4247, allocations: 60.5 kB / 0.5175 GB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.4247, allocations: 19.09 kB / 0.5175 GB, free: 36.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/0.4265, allocations: 2.789 MB / 0.5202 GB, free: 33.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4265, allocations: 4.203 kB / 0.5203 GB, free: 33.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.4282, allocations: 0.9967 MB / 0.5212 GB, free: 32.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.4285, allocations: 192.2 kB / 0.5214 GB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/0.4286, allocations: 18.25 kB / 0.5214 GB, free: 32.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.429, allocations: 36.86 kB / 0.5215 GB, free: 32.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.4291, allocations: 37.66 kB / 0.5215 GB, free: 32.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.4291, allocations: 24.47 kB / 0.5215 GB, free: 32.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005386/0.4297, allocations: 391.8 kB / 0.5219 GB, free: 32.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4297, allocations: 2.188 kB / 0.5219 GB, free: 32.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009165/0.4306, allocations: 209.6 kB / 0.5221 GB, free: 32.35 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.002123/0.4327, allocations: 1.663 MB / 0.5237 GB, free: 31.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.434, allocations: 0.6051 MB / 0.5243 GB, free: 31.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4341, allocations: 5.062 kB / 0.5243 GB, free: 31.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.4352, allocations: 481.1 kB / 0.5248 GB, free: 30.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.4368, allocations: 332.1 kB / 0.5251 GB, free: 30.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006919/0.4438, allocations: 4.343 MB / 0.5293 GB, free: 28.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.4443, allocations: 0.9354 MB / 0.5302 GB, free: 27.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009547/0.4453, allocations: 214.3 kB / 0.5304 GB, free: 27.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.4456, allocations: 235.3 kB / 0.5307 GB, free: 27.41 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4456, allocations: 0 / 0.5307 GB, free: 27.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.483, allocations: 20.05 MB / 0.5503 GB, free: 11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/0.4833, allocations: 287.7 kB / 0.5505 GB, free: 10.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/2.887, allocations: 4 kB / 0.5505 GB, free: 10.64 MB / 382.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