Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0008993/0.000899, allocations: 95.97 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 174.1 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4663/0.4663, allocations: 43.55 MB / 314.5 MB, free: 9.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005794/0.0005795, allocations: 16 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1597, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.3162/0.476, allocations: 14.12 MB / 457 MB, free: 36.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008206/0.4842, allocations: 4.755 MB / 461.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.4853, allocations: 24.59 kB / 461.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009519/0.4863, allocations: 268.1 kB / 462 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.4891, allocations: 0.68 MB / 462.7 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.4924, allocations: 0.7923 MB / 463.5 MB, free: 36.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.4947, allocations: 1.026 MB / 464.5 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000763/0.4954, allocations: 384.4 kB / 464.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.4966, allocations: 0.5549 MB / 465.5 MB, free: 36.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007185/0.4974, allocations: 406 kB / 465.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.952e-05/0.4975, allocations: 28.56 kB / 465.9 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.4986, allocations: 249.3 kB / 466.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002728/0.4989, allocations: 210.8 kB / 466.3 MB, free: 36.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.4991, allocations: 164.1 kB / 466.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008776/0.4999, allocations: 0.7802 MB / 467.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5, allocations: 2.938 kB / 467.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5, allocations: 0 / 467.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.5, allocations: 0 / 467.3 MB, free: 36.09 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.001796/0.5018, allocations: 0.9121 MB / 468.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5018, allocations: 14.19 kB / 468.2 MB, free: 35.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.502, allocations: 104 kB / 468.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.5023, allocations: 87 kB / 468.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.5031, allocations: 0.4922 MB / 468.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.5033, allocations: 99.25 kB / 469 MB, free: 35.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-05/0.5034, allocations: 53.75 kB / 469 MB, free: 35.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.5047, allocations: 0.8263 MB / 469.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.5048, allocations: 1.375 kB / 469.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.041e-05/0.5049, allocations: 27.8 kB / 469.9 MB, free: 34.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.339e-05/0.505, allocations: 42.44 kB / 469.9 MB, free: 34.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.506, allocations: 0.6395 MB / 470.6 MB, free: 34.8 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.004445/0.5105, allocations: 4.368 MB / 474.9 MB, free: 31.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.5111, allocations: 341.2 kB / 475.3 MB, free: 31.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/0.513, allocations: 1.724 MB / 477 MB, free: 30.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.513, allocations: 39.31 kB / 477 MB, free: 30.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/0.513, allocations: 0 / 477 MB, free: 30.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003463/0.5165, allocations: 1.401 MB / 478.4 MB, free: 29.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.5166, allocations: 131.8 kB / 478.6 MB, free: 29.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.5174, allocations: 0.6364 MB / 479.2 MB, free: 29.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.5174, allocations: 32.48 kB / 479.2 MB, free: 29.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.5177, allocations: 393.3 kB / 479.6 MB, free: 29.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.5178, allocations: 132.5 kB / 479.7 MB, free: 29.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.5179, allocations: 20.38 kB / 479.8 MB, free: 29.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.518, allocations: 374.4 kB / 480.1 MB, free: 28.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.5183, allocations: 189.5 kB / 480.3 MB, free: 28.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.5189, allocations: 0.5438 MB / 480.8 MB, free: 28.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.5194, allocations: 293.6 kB / 481.1 MB, free: 28.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5194, allocations: 3.156 kB / 481.1 MB, free: 28.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001386/0.5208, allocations: 0.8319 MB / 482 MB, free: 27.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.5208, allocations: 17 kB / 482 MB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.5209, allocations: 9.5 kB / 482 MB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.5213, allocations: 101.1 kB / 482.1 MB, free: 27.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.522, allocations: 189.8 kB / 482.3 MB, free: 27.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004945/0.5225, allocations: 0.666 MB / 482.9 MB, free: 27.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.5231, allocations: 36.91 kB / 483 MB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.5231, allocations: 39.09 kB / 483 MB, free: 27.31 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.0003828/0.5235, allocations: 265 kB / 483.3 MB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.5237, allocations: 69.84 kB / 483.3 MB, free: 27.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008278/0.5245, allocations: 0.5023 MB / 483.8 MB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.5245, allocations: 7.188 kB / 483.9 MB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5245, allocations: 0 / 483.9 MB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5245, allocations: 3.281 kB / 483.9 MB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.5265, allocations: 1.213 MB / 485.1 MB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.5266, allocations: 3.375 kB / 485.1 MB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.5269, allocations: 75.97 kB / 485.1 MB, free: 26.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/0.5271, allocations: 41.7 kB / 485.2 MB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/0.5271, allocations: 18.81 kB / 485.2 MB, free: 26.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003792/0.5275, allocations: 0.5547 MB / 485.8 MB, free: 25.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.5276, allocations: 11.19 kB / 485.8 MB, free: 25.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000976/0.5285, allocations: 0.867 MB / 486.6 MB, free: 24.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.5289, allocations: 194.8 kB / 486.8 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.529, allocations: 9.938 kB / 486.8 MB, free: 24.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.5294, allocations: 38.75 kB / 486.9 MB, free: 24.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.5295, allocations: 27.56 kB / 486.9 MB, free: 24.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.5295, allocations: 22.08 kB / 486.9 MB, free: 24.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005422/0.5301, allocations: 452.8 kB / 487.4 MB, free: 24.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5301, allocations: 0 / 487.4 MB, free: 24.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009327/0.531, allocations: 201.7 kB / 487.6 MB, free: 24.45 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.001714/0.5327, allocations: 2.359 MB / 489.9 MB, free: 22.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.5338, allocations: 0.4893 MB / 490.4 MB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5338, allocations: 0 / 490.4 MB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.5341, allocations: 190.3 kB / 490.6 MB, free: 22.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.5357, allocations: 293.8 kB / 490.9 MB, free: 22.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008681/0.5444, allocations: 12.1 MB / 0.4912 GB, free: 27.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.5453, allocations: 0.9521 MB / 0.4921 GB, free: 27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009856/0.5463, allocations: 204.1 kB / 0.4923 GB, free: 26.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.5466, allocations: 232.8 kB / 0.4925 GB, free: 26.8 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5466, allocations: 0 / 0.4925 GB, free: 26.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0518/0.5984, allocations: 18.45 MB / 0.5106 GB, free: 21.52 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.5987, allocations: 288.9 kB / 0.5108 GB, free: 21.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/2.855, allocations: 3.938 kB / 0.5108 GB, free: 21.16 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat