Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 92.81 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 198.9 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002785, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1545, allocations: 63.46 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03208/0.1866, allocations: 22.63 MB / 0.4923 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003106/0.1898, allocations: 2.573 MB / 0.4948 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1899, allocations: 3.938 kB / 0.4948 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.1901, allocations: 39.78 kB / 0.4949 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.1916, allocations: 0.5959 MB / 0.4955 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1919, allocations: 123.5 kB / 0.4956 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.1923, allocations: 251.5 kB / 0.4958 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.537e-05/0.1924, allocations: 17.66 kB / 0.4958 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3037/0.4961, allocations: 22.24 MB / 0.5176 GB, free: 18.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004095/0.4965, allocations: 132.1 kB / 0.5177 GB, free: 18.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.4966, allocations: 6.406 kB / 0.5177 GB, free: 18.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.5075, allocations: 5.598 MB / 0.5232 GB, free: 18.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.5076, allocations: 46.41 kB / 0.5232 GB, free: 18.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.78e-05/0.5077, allocations: 61.45 kB / 0.5233 GB, free: 18.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006782/0.5084, allocations: 286.9 kB / 0.5235 GB, free: 18.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.5084, allocations: 0 / 0.5235 GB, free: 18.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5084, allocations: 0 / 0.5235 GB, free: 18.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.5085, allocations: 0 / 0.5235 GB, free: 18.78 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001054/0.5095, allocations: 0.55 MB / 0.5241 GB, free: 18.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5096, allocations: 10.12 kB / 0.5241 GB, free: 18.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.5096, allocations: 58.31 kB / 0.5241 GB, free: 18.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.5098, allocations: 26.22 kB / 0.5242 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.5101, allocations: 225.4 kB / 0.5244 GB, free: 18.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.5102, allocations: 126.8 kB / 0.5245 GB, free: 17.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.5102, allocations: 25.59 kB / 0.5245 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.5107, allocations: 316.4 kB / 0.5248 GB, free: 17.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5107, allocations: 7.234 kB / 0.5248 GB, free: 17.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.5107, allocations: 10.09 kB / 0.5248 GB, free: 17.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.5108, allocations: 10.7 kB / 0.5249 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000834/0.5116, allocations: 0.7435 MB / 0.5256 GB, free: 17.7 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.001258/0.5129, allocations: 1.353 MB / 0.5269 GB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.5132, allocations: 150.6 kB / 0.527 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/0.5151, allocations: 2.867 MB / 0.5298 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.5151, allocations: 38.25 kB / 0.5299 GB, free: 13.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.5151, allocations: 0 / 0.5299 GB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002874/0.5154, allocations: 139.5 kB / 0.53 GB, free: 13.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.5154, allocations: 51.41 kB / 0.5301 GB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.5156, allocations: 208.6 kB / 0.5303 GB, free: 12.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.5156, allocations: 25.7 kB / 0.5303 GB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.5157, allocations: 216 kB / 0.5305 GB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.5157, allocations: 53.8 kB / 0.5305 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.5157, allocations: 9.891 kB / 0.5306 GB, free: 12.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.168e-05/0.5158, allocations: 327.1 kB / 0.5309 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.775e-05/0.5159, allocations: 48.7 kB / 0.5309 GB, free: 12.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.5161, allocations: 324.7 kB / 0.5312 GB, free: 11.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.5162, allocations: 100.2 kB / 0.5313 GB, free: 11.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5162, allocations: 0 / 0.5313 GB, free: 11.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004345/0.5166, allocations: 381.7 kB / 0.5317 GB, free: 11.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5167, allocations: 12 kB / 0.5317 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5167, allocations: 8.875 kB / 0.5317 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.5167, allocations: 16 kB / 0.5317 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.517, allocations: 100.3 kB / 0.5318 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.517, allocations: 19.78 kB / 0.5318 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.5172, allocations: 50.09 kB / 0.5319 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.5172, allocations: 31.98 kB / 0.5319 GB, free: 11.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 8.735e-05/0.5173, allocations: 144 kB / 0.532 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.5174, allocations: 23.77 kB / 0.5321 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.5177, allocations: 187.2 kB / 0.5322 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5177, allocations: 0 / 0.5322 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5177, allocations: 4.5 kB / 0.5322 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5178, allocations: 0.7969 kB / 0.5323 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.5182, allocations: 454.4 kB / 0.5327 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.5182, allocations: 8.031 kB / 0.5327 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/0.5183, allocations: 16.16 kB / 0.5327 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5183, allocations: 4 kB / 0.5327 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5183, allocations: 0.9375 kB / 0.5327 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5183, allocations: 4.875 kB / 0.5327 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5183, allocations: 3.469 kB / 0.5327 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.5185, allocations: 270.2 kB / 0.533 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.5186, allocations: 113 kB / 0.5331 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.5186, allocations: 3.953 kB / 0.5331 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.5188, allocations: 13.36 kB / 0.5331 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.5188, allocations: 15.88 kB / 0.5331 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.5188, allocations: 8.922 kB / 0.5331 GB, free: 10.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.5189, allocations: 147.4 kB / 0.5333 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5189, allocations: 0 / 0.5333 GB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004967/0.5194, allocations: 107.4 kB / 0.5334 GB, free: 10.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * 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.0004949/0.5199, allocations: 1.152 MB / 0.5345 GB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.5202, allocations: 170.7 kB / 0.5347 GB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5202, allocations: 320 / 0.5347 GB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.099e-05/0.5202, allocations: 34.81 kB / 0.5347 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.5206, allocations: 49.38 kB / 0.5347 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.5228, allocations: 7.788 MB / 0.5423 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.5229, allocations: 0.733 MB / 0.5431 GB, free: 392 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.5232, allocations: 56.33 kB / 0.5431 GB, free: 344 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.988e-05/0.5233, allocations: 64.36 kB / 0.5432 GB, free: 320 kB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5233, allocations: 0 / 0.5432 GB, free: 320 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.5396, allocations: 5.164 MB / 0.5482 GB, free: 12.46 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.5399, allocations: 208.8 kB / 0.5484 GB, free: 12.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.378, allocations: 0 / 0.5484 GB, free: 12.21 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat