Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001655/0.001655, allocations: 182.1 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.012/2.012, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.002026/0.002027, allocations: 97.83 kB / 270.9 MB, free: 8.359 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.5967/0.5967, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 12 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1381, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007175/0.1454, allocations: 4.1 MB / 494.4 MB, free: 6.996 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006845/0.1523, allocations: 3.695 MB / 498.1 MB, free: 3.293 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.1525, allocations: 4 kB / 498.1 MB, free: 3.289 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.1529, allocations: 39.78 kB / 498.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.1553, allocations: 0.5608 MB / 498.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.156, allocations: 143.7 kB / 498.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000709/0.1567, allocations: 255.5 kB / 499.1 MB, free: 2.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.703e-05/0.1568, allocations: 13.69 kB / 499.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.1572, allocations: 143.5 kB / 499.3 MB, free: 2.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.1575, allocations: 107.7 kB / 499.4 MB, free: 2.035 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.1575, allocations: 8 kB / 499.4 MB, free: 2.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.1589, allocations: 303.7 kB / 499.7 MB, free: 1.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1591, allocations: 47.8 kB / 499.7 MB, free: 1.684 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1592, allocations: 57.64 kB / 499.8 MB, free: 1.621 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008613/0.1601, allocations: 263.7 kB / 0.4883 GB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1601, allocations: 0 / 0.4883 GB, free: 1.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.501e-06/0.1601, allocations: 0 / 0.4883 GB, free: 1.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1601, allocations: 3.938 kB / 0.4883 GB, free: 1.359 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001318/0.1615, allocations: 0.5383 MB / 0.4888 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.1615, allocations: 12.02 kB / 0.4888 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.1617, allocations: 58.55 kB / 0.4889 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.1618, allocations: 27.72 kB / 0.4889 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.1622, allocations: 218.8 kB / 0.4891 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.1624, allocations: 123.4 kB / 0.4893 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.1625, allocations: 24 kB / 0.4893 GB, free: 252 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3205/0.483, allocations: 322.3 kB / 0.4896 GB, free: 43.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.4831, allocations: 0.8906 kB / 0.4896 GB, free: 43.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.4831, allocations: 11.61 kB / 0.4896 GB, free: 43.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.4832, allocations: 5.25 kB / 0.4896 GB, free: 43.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.4845, allocations: 0.7405 MB / 0.4903 GB, free: 43.6 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.001811/0.4864, allocations: 1.298 MB / 0.4916 GB, free: 42.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.4869, allocations: 148.7 kB / 0.4917 GB, free: 42.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002714/0.4896, allocations: 2.61 MB / 0.4943 GB, free: 39.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.4897, allocations: 42.67 kB / 0.4943 GB, free: 39.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.405e-06/0.4897, allocations: 0 / 0.4943 GB, free: 39.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009694/0.4907, allocations: 239.7 kB / 0.4946 GB, free: 39.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.4908, allocations: 54.31 kB / 0.4946 GB, free: 39.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.491, allocations: 204.8 kB / 0.4948 GB, free: 39.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.4911, allocations: 29.36 kB / 0.4948 GB, free: 39.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4912, allocations: 272.7 kB / 0.4951 GB, free: 39.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.4913, allocations: 61.2 kB / 0.4951 GB, free: 39.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.4913, allocations: 8.625 kB / 0.4952 GB, free: 39.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.4914, allocations: 327.9 kB / 0.4955 GB, free: 39.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4916, allocations: 50.38 kB / 0.4955 GB, free: 39.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.4918, allocations: 307.6 kB / 0.4958 GB, free: 38.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.4921, allocations: 102.4 kB / 0.4959 GB, free: 38.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4921, allocations: 2.219 kB / 0.4959 GB, free: 38.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008643/0.493, allocations: 365.8 kB / 0.4963 GB, free: 38.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.493, allocations: 15.77 kB / 0.4963 GB, free: 38.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.4931, allocations: 10.34 kB / 0.4963 GB, free: 38.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.4931, allocations: 13.56 kB / 0.4963 GB, free: 38.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.4939, allocations: 115.5 kB / 0.4964 GB, free: 38.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/0.4939, allocations: 17.81 kB / 0.4964 GB, free: 38.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.4943, allocations: 19.72 kB / 0.4964 GB, free: 38.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.4944, allocations: 28.36 kB / 0.4965 GB, free: 38.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.4945, allocations: 153.8 kB / 0.4966 GB, free: 38.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.4946, allocations: 22.75 kB / 0.4966 GB, free: 38.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.4952, allocations: 185.2 kB / 0.4968 GB, free: 38.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.4953, allocations: 7.516 kB / 0.4968 GB, free: 38.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4953, allocations: 1.016 kB / 0.4968 GB, free: 38.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4953, allocations: 0.75 kB / 0.4968 GB, free: 38.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.496, allocations: 435.1 kB / 0.4972 GB, free: 38.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.496, allocations: 2.5 kB / 0.4972 GB, free: 38.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.4964, allocations: 38.36 kB / 0.4973 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.4964, allocations: 1.062 kB / 0.4973 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.4964, allocations: 2.094 kB / 0.4973 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4965, allocations: 9.438 kB / 0.4973 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4965, allocations: 1.859 kB / 0.4973 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.4968, allocations: 233.5 kB / 0.4975 GB, free: 37.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.4969, allocations: 116.2 kB / 0.4976 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.497, allocations: 5.625 kB / 0.4976 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.4974, allocations: 12.62 kB / 0.4976 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.4974, allocations: 13.86 kB / 0.4977 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.4974, allocations: 7.656 kB / 0.4977 GB, free: 37.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.4976, allocations: 148 kB / 0.4978 GB, free: 37.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4976, allocations: 0 / 0.4978 GB, free: 37.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007911/0.4984, allocations: 95.08 kB / 0.4979 GB, free: 37.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007699/0.4992, allocations: 0.8979 MB / 0.4988 GB, free: 36.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.4998, allocations: 177.2 kB / 0.4989 GB, free: 36.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4998, allocations: 5.344 kB / 0.4989 GB, free: 36.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.4999, allocations: 37.73 kB / 0.499 GB, free: 36.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.5006, allocations: 44.94 kB / 0.499 GB, free: 36.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.5042, allocations: 7.501 MB / 0.5063 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.5045, allocations: 0.7355 MB / 0.5071 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.5047, allocations: 69.05 kB / 0.5071 GB, free: 29.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5047, allocations: 0 / 0.5071 GB, free: 29.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.609/3.114, allocations: 4.19 MB / 0.5112 GB, free: 28.76 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat