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.001124/0.00113, allocations: 100.4 kB / 17 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001735, allocations: 192 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2451/0.2451, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004836, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1511, allocations: 63.47 MB / 481.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03037/0.1815, allocations: 27.99 MB / 0.4977 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3507/0.5323, allocations: 14.45 MB / 0.5118 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005223/0.5328, allocations: 10 kB / 0.5118 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.5336, allocations: 168.9 kB / 0.512 GB, free: 11.68 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007492/0.5343, allocations: 269.6 kB / 0.5122 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01756/0.5519, allocations: 4.319 MB / 0.5164 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.5537, allocations: 0.9352 MB / 0.5173 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/0.5542, allocations: 172.7 kB / 0.5175 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01814/0.5723, allocations: 8.951 MB / 0.5263 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006451/0.573, allocations: 227.4 kB / 0.5265 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.5731, allocations: 13.75 kB / 0.5265 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/0.5853, allocations: 5.829 MB / 0.5322 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.5856, allocations: 62.94 kB / 0.5322 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.5859, allocations: 92.86 kB / 0.5323 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00523/0.5911, allocations: 2.472 MB / 0.5347 GB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5911, allocations: 0 / 0.5347 GB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5911, allocations: 3.438 kB / 0.5347 GB, free: 9.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.5911, allocations: 4 kB / 0.5347 GB, free: 9.617 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.002597/0.5937, allocations: 0.9344 MB / 0.5357 GB, free: 8.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5938, allocations: 13.42 kB / 0.5357 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.054e-05/0.5939, allocations: 61.52 kB / 0.5357 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009337/0.5948, allocations: 130.5 kB / 0.5359 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.5952, allocations: 315.2 kB / 0.5362 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.5952, allocations: 22.31 kB / 0.5362 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.5953, allocations: 28.06 kB / 0.5362 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.5962, allocations: 464.6 kB / 0.5366 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5963, allocations: 3.938 kB / 0.5367 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.5963, allocations: 18.52 kB / 0.5367 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.5963, allocations: 8 kB / 0.5367 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000918/0.5972, allocations: 393.5 kB / 0.5371 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.5996, allocations: 2.404 MB / 0.5394 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008867/0.6005, allocations: 307.9 kB / 0.5397 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.6007, allocations: 109.5 kB / 0.5398 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.601, allocations: 479.8 kB / 0.5403 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.6011, allocations: 34.56 kB / 0.5403 GB, free: 4.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.605e-06/0.6011, allocations: 0 / 0.5403 GB, free: 4.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001465/0.6025, allocations: 499.6 kB / 0.5408 GB, free: 4.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.6026, allocations: 109.5 kB / 0.5409 GB, free: 4.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.6029, allocations: 323.8 kB / 0.5412 GB, free: 3.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6029, allocations: 25.7 kB / 0.5412 GB, free: 3.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.603, allocations: 205 kB / 0.5414 GB, free: 3.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.6031, allocations: 42.14 kB / 0.5414 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.6031, allocations: 6.875 kB / 0.5414 GB, free: 3.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.6031, allocations: 335.2 kB / 0.5418 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.6034, allocations: 99.48 kB / 0.5419 GB, free: 3.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.6037, allocations: 218.6 kB / 0.5421 GB, free: 2.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.6039, allocations: 109.9 kB / 0.5422 GB, free: 2.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6039, allocations: 3.938 kB / 0.5422 GB, free: 2.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006014/0.6045, allocations: 342.2 kB / 0.5425 GB, free: 2.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6046, allocations: 10.19 kB / 0.5425 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6046, allocations: 4 kB / 0.5425 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.6046, allocations: 8.453 kB / 0.5425 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.6048, allocations: 70.78 kB / 0.5426 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.6049, allocations: 10.72 kB / 0.5426 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.6051, allocations: 50.42 kB / 0.5427 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.6051, allocations: 19.5 kB / 0.5427 GB, free: 2.406 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.0001248/0.6053, allocations: 152.8 kB / 0.5428 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.6053, allocations: 43.5 kB / 0.5429 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009604/0.6063, allocations: 0.7799 MB / 0.5436 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.6063, allocations: 6.188 kB / 0.5436 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6063, allocations: 3.984 kB / 0.5436 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6063, allocations: 0 / 0.5436 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.6067, allocations: 0.5272 MB / 0.5441 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6068, allocations: 0 / 0.5441 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.607, allocations: 55.95 kB / 0.5442 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.607, allocations: 0 / 0.5442 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.607, allocations: 10 kB / 0.5442 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.607, allocations: 3.938 kB / 0.5442 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.607, allocations: 0 / 0.5442 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.6076, allocations: 483.2 kB / 0.5447 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.6077, allocations: 179.7 kB / 0.5448 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.6077, allocations: 6.141 kB / 0.5448 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.6079, allocations: 32.5 kB / 0.5449 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.608, allocations: 26.33 kB / 0.5449 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.608, allocations: 6.312 kB / 0.5449 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002924/0.6083, allocations: 335.7 kB / 0.5452 GB, free: 256 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6083, allocations: 0 / 0.5452 GB, free: 256 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002936/0.6113, allocations: 0.8411 MB / 0.5461 GB, free: 15.44 MB / 398.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.005573/0.6169, allocations: 1.914 MB / 0.5479 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007633/0.6177, allocations: 286.3 kB / 0.5482 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6177, allocations: 0 / 0.5482 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.618, allocations: 182.2 kB / 0.5484 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000981/0.619, allocations: 174.6 kB / 0.5485 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005536/0.6245, allocations: 2.572 MB / 0.551 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.625, allocations: 0.8409 MB / 0.5519 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004381/0.6255, allocations: 150.5 kB / 0.552 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.6257, allocations: 154.5 kB / 0.5522 GB, free: 9.828 MB / 398.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6257, allocations: 0 / 0.5522 GB, free: 9.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07277/0.6985, allocations: 38.93 MB / 0.5902 GB, free: 3.145 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.6987, allocations: 244 kB / 0.5904 GB, free: 2.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.907/4.606, allocations: 0 / 0.5904 GB, free: 2.898 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