Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 95.67 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.001128/0.001128, allocations: 199.4 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.508/1.508, 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.2348/0.2348, allocations: 45.92 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1535, allocations: 63.47 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02782/0.1814, allocations: 25.46 MB / 0.4951 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3173/0.4987, allocations: 13.21 MB / 0.508 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.4992, allocations: 11.06 kB / 0.508 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.5, allocations: 176.6 kB / 0.5082 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006696/0.5007, allocations: 218.7 kB / 0.5084 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01793/0.5186, allocations: 4.379 MB / 0.5127 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.52, allocations: 485.5 kB / 0.5131 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.5204, allocations: 186.3 kB / 0.5133 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02264/0.5431, allocations: 8.848 MB / 0.5219 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007409/0.5439, allocations: 159.2 kB / 0.5221 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.233e-05/0.544, allocations: 13.5 kB / 0.5221 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01551/0.5595, allocations: 5.943 MB / 0.5279 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.5598, allocations: 66.58 kB / 0.528 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.5601, allocations: 94.64 kB / 0.5281 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008614/0.5687, allocations: 2.464 MB / 0.5305 GB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5688, allocations: 0 / 0.5305 GB, free: 9.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5688, allocations: 0 / 0.5305 GB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.5688, allocations: 0 / 0.5305 GB, free: 9.91 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003946/0.5728, allocations: 0.9443 MB / 0.5314 GB, free: 9.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.5729, allocations: 7.312 kB / 0.5314 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.365e-05/0.573, allocations: 64.25 kB / 0.5315 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.5741, allocations: 127.5 kB / 0.5316 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.5746, allocations: 321.9 kB / 0.5319 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.5746, allocations: 23.95 kB / 0.5319 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.5747, allocations: 24.94 kB / 0.5319 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.576, allocations: 466.7 kB / 0.5324 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.576, allocations: 2.625 kB / 0.5324 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.5761, allocations: 16.25 kB / 0.5324 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.5761, allocations: 6.141 kB / 0.5324 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.5772, allocations: 395.9 kB / 0.5328 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.5803, allocations: 2.397 MB / 0.5351 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.5814, allocations: 309.6 kB / 0.5354 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003952/0.5818, allocations: 481.3 kB / 0.5359 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.5819, allocations: 37.47 kB / 0.5359 GB, free: 5.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.284e-06/0.5819, allocations: 4 kB / 0.5359 GB, free: 5.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001602/0.5835, allocations: 495.5 kB / 0.5364 GB, free: 5.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.5835, allocations: 106.8 kB / 0.5365 GB, free: 5.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.5838, allocations: 318.6 kB / 0.5368 GB, free: 5.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.5839, allocations: 29.7 kB / 0.5368 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.584, allocations: 212.4 kB / 0.537 GB, free: 5.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.584, allocations: 41.14 kB / 0.5371 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.584, allocations: 3.25 kB / 0.5371 GB, free: 5.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.5841, allocations: 338.9 kB / 0.5374 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.5844, allocations: 100.5 kB / 0.5375 GB, free: 4.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.5847, allocations: 209.6 kB / 0.5377 GB, free: 4.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.5849, allocations: 114.9 kB / 0.5378 GB, free: 4.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.585, allocations: 4 kB / 0.5378 GB, free: 4.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006613/0.5856, allocations: 337.5 kB / 0.5381 GB, free: 4.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.5857, allocations: 6.812 kB / 0.5381 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5857, allocations: 9.734 kB / 0.5381 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.5857, allocations: 11.95 kB / 0.5382 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.5859, allocations: 65.39 kB / 0.5382 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.586, allocations: 7.312 kB / 0.5382 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.5863, allocations: 54.47 kB / 0.5383 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.5863, allocations: 14.88 kB / 0.5383 GB, free: 3.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.5865, allocations: 152.5 kB / 0.5384 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.5866, allocations: 27.62 kB / 0.5385 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.5877, allocations: 0.7892 MB / 0.5392 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.5877, allocations: 19.19 kB / 0.5392 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5877, allocations: 0 / 0.5392 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5877, allocations: 0 / 0.5392 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.5882, allocations: 0.5346 MB / 0.5398 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5882, allocations: 0 / 0.5398 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.5884, allocations: 51.95 kB / 0.5398 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5884, allocations: 0 / 0.5398 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5885, allocations: 5.562 kB / 0.5398 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5885, allocations: 0 / 0.5398 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.5885, allocations: 7.703 kB / 0.5398 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/0.5891, allocations: 480 kB / 0.5403 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.5892, allocations: 184.8 kB / 0.5405 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.5893, allocations: 3.984 kB / 0.5405 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.5895, allocations: 31.56 kB / 0.5405 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.5896, allocations: 22.3 kB / 0.5405 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.5896, allocations: 6.375 kB / 0.5405 GB, free: 2.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003071/0.5899, allocations: 338.6 kB / 0.5408 GB, free: 1.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5899, allocations: 0 / 0.5408 GB, free: 1.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003152/0.5931, allocations: 0.8467 MB / 0.5417 GB, free: 0.9375 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.006422/0.5995, allocations: 1.911 MB / 0.5435 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008507/0.6004, allocations: 288 kB / 0.5438 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.6004, allocations: 3.938 kB / 0.5438 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.6007, allocations: 176.5 kB / 0.544 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.6017, allocations: 164.3 kB / 0.5441 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/0.6084, allocations: 4.819 MB / 0.5489 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.6088, allocations: 0.8621 MB / 0.5497 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004956/0.6093, allocations: 138.3 kB / 0.5498 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.6096, allocations: 158.1 kB / 0.55 GB, free: 9.105 MB / 398.1 MB Notification: Performance of SimCode: time 9.71e-07/0.6096, allocations: 0 / 0.55 GB, free: 9.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07116/0.6807, allocations: 38.92 MB / 0.588 GB, free: 2.461 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.681, allocations: 234.4 kB / 0.5882 GB, free: 2.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.972/4.653, allocations: 0 / 0.5882 GB, free: 2.223 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat