Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_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.001634/0.001639, allocations: 188.1 kB / 16.4 MB, free: 5.625 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.169/2.169, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.00166/0.00166, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.000632, allocations: 8 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1371, allocations: 47.59 MB / 374.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.03701/0.1741, allocations: 14.19 MB / 388.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2991/0.4733, allocations: 1.617 MB / 390.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.4737, allocations: 5.688 kB / 390.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007109/0.4745, allocations: 127.1 kB / 390.6 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008001/0.4753, allocations: 214.5 kB / 390.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.4785, allocations: 0.8182 MB / 391.6 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.4798, allocations: 497.8 kB / 392.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.4801, allocations: 68.52 kB / 392.2 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007443/0.4875, allocations: 2.486 MB / 394.7 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.4882, allocations: 162.5 kB / 394.8 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.4883, allocations: 13.94 kB / 394.8 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000936/0.4893, allocations: 219.4 kB / 395 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.4894, allocations: 73.86 kB / 395.1 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.4896, allocations: 99.73 kB / 395.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009631/0.4906, allocations: 439.9 kB / 395.6 MB, free: 9.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4906, allocations: 0 / 395.6 MB, free: 9.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.028e-06/0.4906, allocations: 0.7031 kB / 395.6 MB, free: 9.082 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.4907, allocations: 1.375 kB / 395.6 MB, free: 9.082 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001018/0.4917, allocations: 0.5496 MB / 396.2 MB, free: 8.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.4917, allocations: 9.125 kB / 396.2 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.4919, allocations: 63.92 kB / 396.3 MB, free: 8.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004865/0.4924, allocations: 52.88 kB / 396.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.4929, allocations: 288.8 kB / 396.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.493, allocations: 21.69 kB / 396.6 MB, free: 8.352 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.493, allocations: 27.94 kB / 396.6 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007918/0.4938, allocations: 328.4 kB / 397 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.4939, allocations: 7.844 kB / 397 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.4939, allocations: 14.36 kB / 397 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.494, allocations: 6.906 kB / 397 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.4945, allocations: 194.8 kB / 397.2 MB, free: 8.219 MB / 282.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.002864/0.4974, allocations: 2.108 MB / 399.3 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.4979, allocations: 183.5 kB / 399.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.4981, allocations: 250.7 kB / 399.7 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4981, allocations: 38.42 kB / 399.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.635e-06/0.4982, allocations: 0 / 399.8 MB, free: 6.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.003907/0.5021, allocations: 1.029 MB / 400.8 MB, free: 5.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.5021, allocations: 54.34 kB / 400.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.5026, allocations: 261.2 kB / 401.1 MB, free: 5.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.5026, allocations: 39.14 kB / 401.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5027, allocations: 233.8 kB / 401.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5029, allocations: 106.7 kB / 401.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.5029, allocations: 6.312 kB / 401.5 MB, free: 5.211 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.225e-05/0.503, allocations: 329.5 kB / 401.8 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.5032, allocations: 82.33 kB / 401.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.5035, allocations: 168.4 kB / 402 MB, free: 4.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.5038, allocations: 110.1 kB / 402.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5039, allocations: 2.219 kB / 402.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009448/0.5048, allocations: 364.8 kB / 402.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.5049, allocations: 6.781 kB / 402.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5049, allocations: 5.625 kB / 402.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.5056, allocations: 105.1 kB / 402.6 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.5061, allocations: 62.62 kB / 402.7 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007062/0.5068, allocations: 0.6534 MB / 403.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.5073, allocations: 18.31 kB / 403.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/0.5074, allocations: 21.06 kB / 403.4 MB, free: 4.207 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002671/0.5077, allocations: 151.2 kB / 403.5 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.5078, allocations: 34.92 kB / 403.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.5089, allocations: 389.2 kB / 403.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5089, allocations: 3.281 kB / 403.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5089, allocations: 0 / 403.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000664/0.5096, allocations: 0.5529 MB / 404.5 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.5114, allocations: 0.7379 MB / 405.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5114, allocations: 5.125 kB / 405.2 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.5117, allocations: 42.47 kB / 405.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/0.5125, allocations: 103 kB / 405.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/0.5126, allocations: 5 kB / 405.4 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006116/0.5132, allocations: 0.6369 MB / 406 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5132, allocations: 1 kB / 406 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.5144, allocations: 0.5052 MB / 406.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.5146, allocations: 114.1 kB / 406.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.5147, allocations: 8.703 kB / 406.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/0.5151, allocations: 11.03 kB / 406.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.5152, allocations: 16.11 kB / 406.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.5153, allocations: 15.41 kB / 406.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003061/0.5156, allocations: 203.9 kB / 406.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5156, allocations: 0 / 406.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007671/0.5164, allocations: 115.5 kB / 407 MB, free: 2.207 MB / 282.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 (18): * Single equations (assignments): 17 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001708/0.5181, allocations: 1.214 MB / 408.2 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008852/0.519, allocations: 234.1 kB / 408.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.519, allocations: 4 kB / 408.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.5195, allocations: 125.9 kB / 408.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.5211, allocations: 150.4 kB / 408.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/0.526, allocations: 3.332 MB / 412 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.5265, allocations: 0.7715 MB / 412.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.5268, allocations: 103.5 kB / 412.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5268, allocations: 0 / 412.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.73/3.257, allocations: 7.587 MB / 420.5 MB, free: 10.7 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat