Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.001595, allocations: 182.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 101.7 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5547/0.5547, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004782, allocations: 16 kB / 431.5 MB, free: 6.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1478, allocations: 58.84 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3894/0.5373, allocations: 18.21 MB / 0.4966 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.5498, allocations: 5.841 MB / 0.5023 GB, free: 33.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.5512, allocations: 26.75 kB / 0.5023 GB, free: 33.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.5526, allocations: 242.5 kB / 0.5026 GB, free: 33.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.5589, allocations: 1.442 MB / 0.504 GB, free: 32.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005069/0.564, allocations: 1.217 MB / 0.5052 GB, free: 32.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002609/0.5666, allocations: 1.055 MB / 0.5062 GB, free: 31.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009698/0.5677, allocations: 403.2 kB / 0.5066 GB, free: 31.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008018/0.5757, allocations: 2.803 MB / 0.5093 GB, free: 31.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.5788, allocations: 1.069 MB / 0.5104 GB, free: 30.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.5791, allocations: 31.91 kB / 0.5104 GB, free: 30.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004309/0.5834, allocations: 1.274 MB / 0.5116 GB, free: 30.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00062/0.5841, allocations: 217.3 kB / 0.5119 GB, free: 30.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.5845, allocations: 165.7 kB / 0.512 GB, free: 30.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.5873, allocations: 1.038 MB / 0.513 GB, free: 30.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5873, allocations: 0 / 0.513 GB, free: 30.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5873, allocations: 0 / 0.513 GB, free: 30.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.5874, allocations: 0 / 0.513 GB, free: 30.31 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002964/0.5903, allocations: 1.007 MB / 0.514 GB, free: 29.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5904, allocations: 9.531 kB / 0.514 GB, free: 29.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002828/0.5907, allocations: 106.3 kB / 0.5141 GB, free: 29.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.5923, allocations: 147.8 kB / 0.5143 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.5937, allocations: 0.4917 MB / 0.5147 GB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.5938, allocations: 105 kB / 0.5148 GB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.594, allocations: 46.48 kB / 0.5149 GB, free: 29.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.5962, allocations: 0.8328 MB / 0.5157 GB, free: 28.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.5963, allocations: 7.344 kB / 0.5157 GB, free: 28.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.5964, allocations: 23.27 kB / 0.5157 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.321e-05/0.5965, allocations: 37.95 kB / 0.5158 GB, free: 28.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.5985, allocations: 0.6096 MB / 0.5164 GB, free: 28.32 MB / 378.7 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.007393/0.6059, allocations: 4.646 MB / 0.5209 GB, free: 24.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.607, allocations: 327.5 kB / 0.5212 GB, free: 24.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.6073, allocations: 342.6 kB / 0.5215 GB, free: 23.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.6073, allocations: 42.06 kB / 0.5216 GB, free: 23.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 3.036e-06/0.6074, allocations: 0 / 0.5216 GB, free: 23.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.006383/0.6138, allocations: 1.538 MB / 0.5231 GB, free: 23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.6139, allocations: 135.4 kB / 0.5232 GB, free: 22.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.615, allocations: 0.6485 MB / 0.5238 GB, free: 22.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.6151, allocations: 33.7 kB / 0.5239 GB, free: 22.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.6154, allocations: 425.7 kB / 0.5243 GB, free: 22.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.6156, allocations: 124.8 kB / 0.5244 GB, free: 22.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.6156, allocations: 15.12 kB / 0.5244 GB, free: 22.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.6157, allocations: 346.3 kB / 0.5247 GB, free: 21.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.6163, allocations: 197.7 kB / 0.5249 GB, free: 21.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.6171, allocations: 0.489 MB / 0.5254 GB, free: 21.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.6178, allocations: 293.2 kB / 0.5257 GB, free: 21.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.6178, allocations: 3.125 kB / 0.5257 GB, free: 21.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002133/0.62, allocations: 0.8275 MB / 0.5265 GB, free: 20.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.6201, allocations: 10.95 kB / 0.5265 GB, free: 20.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.6201, allocations: 9.594 kB / 0.5265 GB, free: 20.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.6222, allocations: 305.4 kB / 0.5268 GB, free: 20.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.623, allocations: 131.8 kB / 0.5269 GB, free: 20.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.6246, allocations: 1.398 MB / 0.5283 GB, free: 19.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/0.6256, allocations: 33.89 kB / 0.5283 GB, free: 19.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.6258, allocations: 49.58 kB / 0.5284 GB, free: 19.4 MB / 378.7 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005548/0.6263, allocations: 250.1 kB / 0.5286 GB, free: 19.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.6265, allocations: 70.47 kB / 0.5287 GB, free: 19.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.629, allocations: 0.65 MB / 0.5293 GB, free: 18.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.629, allocations: 6.969 kB / 0.5293 GB, free: 18.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.629, allocations: 0 / 0.5293 GB, free: 18.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.6291, allocations: 5.922 kB / 0.5293 GB, free: 18.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.6321, allocations: 1.218 MB / 0.5305 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.6322, allocations: 3.125 kB / 0.5305 GB, free: 18.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.6325, allocations: 45.92 kB / 0.5306 GB, free: 18.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.6339, allocations: 201.3 kB / 0.5308 GB, free: 18.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/0.634, allocations: 14.44 kB / 0.5308 GB, free: 18.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.6353, allocations: 1.3 MB / 0.532 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6353, allocations: 3.25 kB / 0.532 GB, free: 16.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.6374, allocations: 0.8253 MB / 0.5329 GB, free: 16.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/0.638, allocations: 201.8 kB / 0.533 GB, free: 16.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.6381, allocations: 10.84 kB / 0.5331 GB, free: 16.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.6389, allocations: 20.38 kB / 0.5331 GB, free: 16.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.639, allocations: 26.83 kB / 0.5331 GB, free: 16.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.6391, allocations: 25.45 kB / 0.5331 GB, free: 16.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008013/0.6399, allocations: 446.7 kB / 0.5336 GB, free: 16.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6399, allocations: 4 kB / 0.5336 GB, free: 16.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001446/0.6414, allocations: 298.4 kB / 0.5338 GB, free: 16.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003482/0.6449, allocations: 1.764 MB / 0.5356 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.6466, allocations: 0.5089 MB / 0.5361 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6466, allocations: 0.8125 kB / 0.5361 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.6474, allocations: 235.8 kB / 0.5363 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.65, allocations: 297.6 kB / 0.5366 GB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.6621, allocations: 10.37 MB / 0.5467 GB, free: 22.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007639/0.6629, allocations: 0.9453 MB / 0.5476 GB, free: 21.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/0.6636, allocations: 244.2 kB / 0.5479 GB, free: 21.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6636, allocations: 0 / 0.5479 GB, free: 21.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.383/4.047, allocations: 20.55 MB / 0.5679 GB, free: 10.05 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat