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.001561/0.001561, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 247 MB, free: 10.46 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.2373/0.2373, allocations: 46.11 MB / 344.4 MB, free: 11.46 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.002448/0.002448, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3688, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03418/0.403, allocations: 30.19 MB / 0.5601 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.4229, allocations: 15.55 MB / 0.5753 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.4234, allocations: 11.94 kB / 0.5753 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007634/0.4242, allocations: 218.5 kB / 0.5755 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007064/0.4249, allocations: 262.4 kB / 0.5757 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01816/0.4431, allocations: 5.639 MB / 0.5812 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.4444, allocations: 0.8225 MB / 0.582 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.4449, allocations: 232.7 kB / 0.5823 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01358/0.4585, allocations: 5.474 MB / 0.5876 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005162/0.459, allocations: 239 kB / 0.5878 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.319e-05/0.4591, allocations: 28 kB / 0.5879 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01316/0.4723, allocations: 6.092 MB / 0.5938 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.4725, allocations: 87.73 kB / 0.5939 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.4729, allocations: 187.1 kB / 0.5941 GB, free: 412 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.483, allocations: 3.671 MB / 0.5977 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.483, allocations: 4 kB / 0.5977 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.483, allocations: 0 / 0.5977 GB, free: 12.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.483, allocations: 0 / 0.5977 GB, free: 12.71 MB / 462.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.00253/0.4856, allocations: 1.034 MB / 0.5987 GB, free: 11.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4856, allocations: 12.03 kB / 0.5987 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.008e-05/0.4857, allocations: 58.73 kB / 0.5987 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009734/0.4867, allocations: 116.6 kB / 0.5988 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.4873, allocations: 346.7 kB / 0.5992 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.4873, allocations: 24.94 kB / 0.5992 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.4874, allocations: 28.12 kB / 0.5992 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.4885, allocations: 450.9 kB / 0.5997 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.4886, allocations: 7.938 kB / 0.5997 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.4886, allocations: 12 kB / 0.5997 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.4886, allocations: 4 kB / 0.5997 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.4898, allocations: 369.3 kB / 0.6 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.4935, allocations: 2.388 MB / 0.6024 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.4947, allocations: 266.3 kB / 0.6026 GB, free: 7.273 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.495, allocations: 104.7 kB / 0.6027 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005227/0.4955, allocations: 489.4 kB / 0.6032 GB, free: 6.598 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.4956, allocations: 34.56 kB / 0.6032 GB, free: 6.555 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.614e-06/0.4956, allocations: 0 / 0.6032 GB, free: 6.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001719/0.4973, allocations: 453.2 kB / 0.6036 GB, free: 6.105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.4974, allocations: 114.8 kB / 0.6038 GB, free: 5.969 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.4979, allocations: 324.4 kB / 0.6041 GB, free: 5.641 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4979, allocations: 25.7 kB / 0.6041 GB, free: 5.609 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.4982, allocations: 216 kB / 0.6043 GB, free: 5.395 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.4982, allocations: 39.69 kB / 0.6043 GB, free: 5.355 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.4983, allocations: 61.59 kB / 0.6044 GB, free: 5.289 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002589/0.4986, allocations: 338.8 kB / 0.6047 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.499, allocations: 87.94 kB / 0.6048 GB, free: 4.863 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.4994, allocations: 207.3 kB / 0.605 GB, free: 4.605 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.5, allocations: 273.5 kB / 0.6053 GB, free: 4.289 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5, allocations: 4 kB / 0.6053 GB, free: 4.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007668/0.5008, allocations: 321.4 kB / 0.6056 GB, free: 3.965 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5008, allocations: 10.34 kB / 0.6056 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5009, allocations: 4 kB / 0.6056 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.5009, allocations: 7.984 kB / 0.6056 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.5011, allocations: 67.84 kB / 0.6057 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.5012, allocations: 11.97 kB / 0.6057 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.5014, allocations: 43.72 kB / 0.6057 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.5014, allocations: 16 kB / 0.6057 GB, free: 3.809 MB / 462.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.0001685/0.5016, allocations: 161.7 kB / 0.6059 GB, free: 3.641 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.5017, allocations: 31.81 kB / 0.6059 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.5031, allocations: 0.7382 MB / 0.6066 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.5031, allocations: 15.92 kB / 0.6066 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5032, allocations: 0 / 0.6066 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.5032, allocations: 3.984 kB / 0.6066 GB, free: 2.844 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.5041, allocations: 0.5222 MB / 0.6072 GB, free: 2.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.5041, allocations: 11.94 kB / 0.6072 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.5043, allocations: 39.95 kB / 0.6072 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.5044, allocations: 4 kB / 0.6072 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.5044, allocations: 4 kB / 0.6072 GB, free: 2.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.048e-05/0.5044, allocations: 11.92 kB / 0.6072 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5044, allocations: 0 / 0.6072 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009163/0.5053, allocations: 465.9 kB / 0.6077 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.5055, allocations: 116.8 kB / 0.6078 GB, free: 1.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.5055, allocations: 23.8 kB / 0.6078 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.5057, allocations: 19.86 kB / 0.6078 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.5058, allocations: 19.97 kB / 0.6078 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.5058, allocations: 4 kB / 0.6078 GB, free: 1.531 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000429/0.5063, allocations: 350.8 kB / 0.6082 GB, free: 1.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5063, allocations: 0 / 0.6082 GB, free: 1.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002469/0.5088, allocations: 0.8499 MB / 0.609 GB, free: 344 kB / 462.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.005886/0.5147, allocations: 1.908 MB / 0.6109 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008489/0.5155, allocations: 276.6 kB / 0.6111 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5156, allocations: 0 / 0.6111 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.5159, allocations: 163.9 kB / 0.6113 GB, free: 13.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.517, allocations: 186.8 kB / 0.6115 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007583/0.5246, allocations: 4.024 MB / 0.6154 GB, free: 9.602 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.5251, allocations: 0.8422 MB / 0.6162 GB, free: 8.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003787/0.5255, allocations: 142.2 kB / 0.6164 GB, free: 8.598 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.5257, allocations: 167.4 kB / 0.6165 GB, free: 8.434 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5257, allocations: 0 / 0.6165 GB, free: 8.434 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08212/0.6079, allocations: 39.07 MB / 0.6547 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.25, allocations: 3.859 kB / 0.6547 GB, free: 1.512 MB / 0.4981 GB (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)