Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.002095/0.002096, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002436/0.002436, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.8 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2349/0.2349, allocations: 46.11 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 82.55 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1295, allocations: 62.44 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03603/0.1655, allocations: 30.18 MB / 0.4984 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2591/0.4247, allocations: 15.53 MB / 0.5136 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.4251, allocations: 11.59 kB / 0.5136 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.4259, allocations: 214.5 kB / 0.5138 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006641/0.4266, allocations: 266.3 kB / 0.5141 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01862/0.4452, allocations: 5.634 MB / 0.5196 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.4465, allocations: 0.8173 MB / 0.5204 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.4469, allocations: 245.2 kB / 0.5206 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01362/0.4605, allocations: 5.468 MB / 0.5259 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.4612, allocations: 237.8 kB / 0.5262 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.4613, allocations: 28.47 kB / 0.5262 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.4736, allocations: 5.958 MB / 0.532 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.4738, allocations: 78.88 kB / 0.5321 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.4741, allocations: 194.8 kB / 0.5323 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007577/0.4817, allocations: 3.672 MB / 0.5359 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4817, allocations: 2.469 kB / 0.5359 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4818, allocations: 0 / 0.5359 GB, free: 4.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.4818, allocations: 0 / 0.5359 GB, free: 4.742 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.00232/0.4841, allocations: 0.993 MB / 0.5368 GB, free: 3.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4842, allocations: 11 kB / 0.5368 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.4842, allocations: 63.08 kB / 0.5369 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009492/0.4852, allocations: 116.2 kB / 0.537 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.4855, allocations: 329 kB / 0.5373 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.4856, allocations: 29.72 kB / 0.5374 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.4856, allocations: 26.8 kB / 0.5374 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009683/0.4866, allocations: 456.3 kB / 0.5378 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4866, allocations: 7.938 kB / 0.5378 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.4866, allocations: 11 kB / 0.5378 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.4867, allocations: 8.312 kB / 0.5378 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009518/0.4876, allocations: 367.5 kB / 0.5382 GB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.4901, allocations: 2.388 MB / 0.5405 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009327/0.491, allocations: 279.3 kB / 0.5408 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.4913, allocations: 91.48 kB / 0.5409 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/0.4916, allocations: 486.5 kB / 0.5413 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.4916, allocations: 32.25 kB / 0.5414 GB, free: 36 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.4917, allocations: 224 / 0.5414 GB, free: 36 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001756/0.4934, allocations: 458.4 kB / 0.5418 GB, free: 15.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.4935, allocations: 113.3 kB / 0.5419 GB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.4939, allocations: 316 kB / 0.5422 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.4939, allocations: 32.27 kB / 0.5422 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.4941, allocations: 206.6 kB / 0.5424 GB, free: 15.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.4942, allocations: 47.05 kB / 0.5425 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.4943, allocations: 61.88 kB / 0.5425 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4945, allocations: 342.8 kB / 0.5429 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.4947, allocations: 80.78 kB / 0.543 GB, free: 14.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/0.4951, allocations: 212.1 kB / 0.5432 GB, free: 14.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/0.4958, allocations: 279.7 kB / 0.5434 GB, free: 14.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4958, allocations: 1.656 kB / 0.5434 GB, free: 14.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007964/0.4966, allocations: 311.2 kB / 0.5437 GB, free: 14.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4966, allocations: 8.062 kB / 0.5437 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4966, allocations: 6.125 kB / 0.5437 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.4967, allocations: 9.516 kB / 0.5437 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.4969, allocations: 69.5 kB / 0.5438 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.497, allocations: 13.83 kB / 0.5438 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.4972, allocations: 41.67 kB / 0.5439 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.4973, allocations: 11 kB / 0.5439 GB, free: 14.12 MB / 398.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_2.medium.phase,boundary_prescriberho_1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.4975, allocations: 155.1 kB / 0.544 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.4975, allocations: 34.66 kB / 0.5441 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.4988, allocations: 0.7446 MB / 0.5448 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.4988, allocations: 10.55 kB / 0.5448 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4988, allocations: 3.938 kB / 0.5448 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.4988, allocations: 5.234 kB / 0.5448 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.4995, allocations: 0.5239 MB / 0.5453 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4995, allocations: 0 / 0.5453 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.4998, allocations: 45.61 kB / 0.5454 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4998, allocations: 0 / 0.5454 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4998, allocations: 1.688 kB / 0.5454 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.4998, allocations: 7.984 kB / 0.5454 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4998, allocations: 6.969 kB / 0.5454 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.5006, allocations: 461.5 kB / 0.5458 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.5008, allocations: 119 kB / 0.5459 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.5008, allocations: 25.19 kB / 0.5459 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.501, allocations: 16.7 kB / 0.546 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.784e-05/0.5011, allocations: 19.91 kB / 0.546 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.5012, allocations: 9.5 kB / 0.546 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004118/0.5016, allocations: 342.3 kB / 0.5463 GB, free: 12.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5016, allocations: 0 / 0.5463 GB, free: 12.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003269/0.5049, allocations: 0.8445 MB / 0.5471 GB, free: 11.85 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006105/0.511, allocations: 1.906 MB / 0.549 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009656/0.512, allocations: 272.5 kB / 0.5493 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.512, allocations: 4 kB / 0.5493 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.5124, allocations: 159.9 kB / 0.5494 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5135, allocations: 188.2 kB / 0.5496 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007795/0.5213, allocations: 4.098 MB / 0.5536 GB, free: 5.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.5219, allocations: 0.8346 MB / 0.5544 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004135/0.5223, allocations: 150.5 kB / 0.5546 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.5225, allocations: 163.4 kB / 0.5547 GB, free: 3.988 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5225, allocations: 3.938 kB / 0.5547 GB, free: 3.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07939/0.6019, allocations: 39.04 MB / 0.5928 GB, free: 13.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.64, allocations: 6.891 kB / 0.5929 GB, free: 13.09 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1)