Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007884/0.0007884, allocations: 97.62 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.0008567/0.0008567, allocations: 190.5 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.35/1.35, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002534/0.0002535, allocations: 8 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 63.46 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2716/0.3809, allocations: 41.28 MB / 0.5107 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006048/0.3869, allocations: 4.218 MB / 0.5148 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008407/0.3878, allocations: 25.81 kB / 0.5148 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008122/0.3886, allocations: 251.8 kB / 0.515 GB, free: 11.01 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.002045/0.3907, allocations: 0.7983 MB / 0.5158 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.3931, allocations: 0.6963 MB / 0.5165 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003934/0.397, allocations: 2.212 MB / 0.5187 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.3979, allocations: 374.9 kB / 0.519 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1373/0.5353, allocations: 73.54 MB / 0.5908 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03316/0.5685, allocations: 13.72 MB / 0.6042 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.5688, allocations: 32 kB / 0.6043 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03436/0.6031, allocations: 18.73 MB / 0.6226 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006375/0.6038, allocations: 226.9 kB / 0.6228 GB, free: 5.254 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.6043, allocations: 165.4 kB / 0.6229 GB, free: 5.086 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.6055, allocations: 0.7767 MB / 0.6237 GB, free: 4.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6055, allocations: 0 / 0.6237 GB, free: 4.348 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6055, allocations: 0 / 0.6237 GB, free: 4.348 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.6055, allocations: 0 / 0.6237 GB, free: 4.348 MB / 462.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.002186/0.6077, allocations: 0.9191 MB / 0.6246 GB, free: 3.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.6078, allocations: 16.56 kB / 0.6246 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.608, allocations: 97.95 kB / 0.6247 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.6084, allocations: 88.09 kB / 0.6248 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/0.6092, allocations: 0.4889 MB / 0.6253 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.6094, allocations: 96.41 kB / 0.6254 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-05/0.6095, allocations: 55.14 kB / 0.6254 GB, free: 2.508 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.6109, allocations: 0.8169 MB / 0.6262 GB, free: 1.621 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.6109, allocations: 3.984 kB / 0.6262 GB, free: 1.617 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.611, allocations: 23.67 kB / 0.6262 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.072e-05/0.6111, allocations: 44.91 kB / 0.6263 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.6122, allocations: 0.6414 MB / 0.6269 GB, free: 0.9141 MB / 462.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.005564/0.6178, allocations: 4.215 MB / 0.631 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.6187, allocations: 421.9 kB / 0.6314 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.619, allocations: 201.4 kB / 0.6316 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/0.6195, allocations: 0.4951 MB / 0.6321 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.6195, allocations: 44.02 kB / 0.6321 GB, free: 11.17 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/0.6196, allocations: 0 / 0.6321 GB, free: 11.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003247/0.6228, allocations: 1.527 MB / 0.6336 GB, free: 9.586 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.6229, allocations: 132.5 kB / 0.6338 GB, free: 9.426 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/0.6236, allocations: 0.5653 MB / 0.6343 GB, free: 8.852 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.6236, allocations: 37.7 kB / 0.6343 GB, free: 8.809 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.6239, allocations: 354.7 kB / 0.6347 GB, free: 8.461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.624, allocations: 165.1 kB / 0.6348 GB, free: 8.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.6241, allocations: 20 kB / 0.6349 GB, free: 8.281 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6242, allocations: 374.8 kB / 0.6352 GB, free: 7.906 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.6246, allocations: 217.9 kB / 0.6354 GB, free: 7.691 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.6252, allocations: 0.5131 MB / 0.6359 GB, free: 7.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.6258, allocations: 324.6 kB / 0.6362 GB, free: 6.727 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.6258, allocations: 3.953 kB / 0.6362 GB, free: 6.723 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001881/0.6277, allocations: 0.9706 MB / 0.6372 GB, free: 5.742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6277, allocations: 12 kB / 0.6372 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6277, allocations: 8 kB / 0.6372 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009886/0.6287, allocations: 261.6 kB / 0.6375 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.6291, allocations: 135.7 kB / 0.6376 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009357/0.6301, allocations: 0.8731 MB / 0.6384 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.6306, allocations: 39.98 kB / 0.6385 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.6307, allocations: 32.88 kB / 0.6385 GB, free: 4.367 MB / 478.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.000331/0.6311, allocations: 253.5 kB / 0.6388 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.6312, allocations: 71.11 kB / 0.6388 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.6325, allocations: 0.7103 MB / 0.6395 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.6325, allocations: 7.938 kB / 0.6395 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6325, allocations: 0 / 0.6395 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6325, allocations: 0 / 0.6395 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.6346, allocations: 1.401 MB / 0.6409 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.6346, allocations: 8 kB / 0.6409 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008838/0.6355, allocations: 197.7 kB / 0.6411 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/0.6358, allocations: 64.72 kB / 0.6411 GB, free: 1.586 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.6359, allocations: 12 kB / 0.6412 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.6383, allocations: 2.79 MB / 0.6439 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6383, allocations: 0 / 0.6439 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.6398, allocations: 0.9956 MB / 0.6449 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.6401, allocations: 200.2 kB / 0.645 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.6402, allocations: 12 kB / 0.6451 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.6406, allocations: 27.97 kB / 0.6451 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.6407, allocations: 43.97 kB / 0.6451 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-05/0.6408, allocations: 19.98 kB / 0.6451 GB, free: 13.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005214/0.6413, allocations: 390.8 kB / 0.6455 GB, free: 12.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6413, allocations: 0 / 0.6455 GB, free: 12.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008652/0.6422, allocations: 207.9 kB / 0.6457 GB, free: 12.59 MB / 494.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.002313/0.6445, allocations: 1.675 MB / 0.6474 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.6459, allocations: 0.5883 MB / 0.6479 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6459, allocations: 4 kB / 0.6479 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.647, allocations: 491.6 kB / 0.6484 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.6486, allocations: 333.8 kB / 0.6487 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/0.6554, allocations: 4.346 MB / 0.653 GB, free: 4.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.6559, allocations: 0.9425 MB / 0.6539 GB, free: 3.961 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007687/0.6567, allocations: 209.2 kB / 0.6541 GB, free: 3.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/0.657, allocations: 231.4 kB / 0.6543 GB, free: 3.539 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.657, allocations: 0 / 0.6543 GB, free: 3.539 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03913/0.6962, allocations: 20.04 MB / 0.6739 GB, free: 15.86 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.6964, allocations: 291.4 kB / 0.6742 GB, free: 15.5 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.017, allocations: 0 / 0.6742 GB, free: 15.5 MB / 0.5138 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat