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.001956/0.001956, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002226/0.002226, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 227.4 MB / 247 MB, free: 10.42 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.2337/0.2337, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002652/0.002652, allocations: 79.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3463, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03632/0.3826, allocations: 30.18 MB / 0.5601 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0211/0.4038, allocations: 15.55 MB / 0.5753 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005301/0.4044, allocations: 11.88 kB / 0.5753 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007801/0.4052, allocations: 218.6 kB / 0.5755 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007677/0.406, allocations: 262.4 kB / 0.5757 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0167/0.4227, allocations: 5.65 MB / 0.5812 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.4239, allocations: 0.8225 MB / 0.582 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.4244, allocations: 228.8 kB / 0.5823 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01342/0.4378, allocations: 5.478 MB / 0.5876 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.4384, allocations: 235 kB / 0.5878 GB, free: 6.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.4385, allocations: 28 kB / 0.5879 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.4506, allocations: 6.096 MB / 0.5938 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.4508, allocations: 83.75 kB / 0.5939 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.4511, allocations: 195.1 kB / 0.5941 GB, free: 492 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008779/0.4599, allocations: 3.671 MB / 0.5977 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.46, allocations: 0 / 0.5977 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.46, allocations: 0 / 0.5977 GB, free: 12.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.46, allocations: 0 / 0.5977 GB, free: 12.8 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.002572/0.4626, allocations: 1.03 MB / 0.5987 GB, free: 11.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4626, allocations: 8.031 kB / 0.5987 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.649e-05/0.4627, allocations: 58.73 kB / 0.5987 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009875/0.4637, allocations: 124.6 kB / 0.5989 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.4643, allocations: 346.7 kB / 0.5992 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.4643, allocations: 20.94 kB / 0.5992 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.4644, allocations: 28.12 kB / 0.5992 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.4657, allocations: 458.9 kB / 0.5997 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4657, allocations: 0 / 0.5997 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.4657, allocations: 12 kB / 0.5997 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.4658, allocations: 11.98 kB / 0.5997 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.4669, allocations: 365.3 kB / 0.6 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.4702, allocations: 2.38 MB / 0.6024 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.4712, allocations: 274.3 kB / 0.6026 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.4716, allocations: 96.8 kB / 0.6027 GB, free: 7.258 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005094/0.4721, allocations: 481.5 kB / 0.6032 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.4721, allocations: 38.56 kB / 0.6032 GB, free: 6.648 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.4721, allocations: 3.938 kB / 0.6032 GB, free: 6.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001793/0.4739, allocations: 445.3 kB / 0.6036 GB, free: 6.203 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.474, allocations: 114.7 kB / 0.6038 GB, free: 6.066 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.4745, allocations: 328.4 kB / 0.6041 GB, free: 5.734 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.4745, allocations: 29.7 kB / 0.6041 GB, free: 5.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.4747, allocations: 212 kB / 0.6043 GB, free: 5.488 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.4748, allocations: 43.62 kB / 0.6043 GB, free: 5.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4749, allocations: 61.64 kB / 0.6044 GB, free: 5.379 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.475, allocations: 338.8 kB / 0.6047 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.4753, allocations: 83.94 kB / 0.6048 GB, free: 4.957 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.4758, allocations: 211.3 kB / 0.605 GB, free: 4.695 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/0.4764, allocations: 277.9 kB / 0.6053 GB, free: 4.375 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4764, allocations: 0 / 0.6053 GB, free: 4.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008247/0.4772, allocations: 325.3 kB / 0.6056 GB, free: 4.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.4773, allocations: 12.05 kB / 0.6056 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4773, allocations: 4 kB / 0.6056 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.4773, allocations: 8 kB / 0.6056 GB, free: 4.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.4776, allocations: 67.83 kB / 0.6057 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4777, allocations: 4 kB / 0.6057 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.4779, allocations: 47.72 kB / 0.6057 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.478, allocations: 12 kB / 0.6057 GB, free: 3.898 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.0002181/0.4782, allocations: 165.6 kB / 0.6059 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.4783, allocations: 31.81 kB / 0.6059 GB, free: 3.695 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.4796, allocations: 0.7421 MB / 0.6066 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.4796, allocations: 11.94 kB / 0.6067 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4796, allocations: 0 / 0.6067 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4796, allocations: 3.984 kB / 0.6067 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.4802, allocations: 0.5261 MB / 0.6072 GB, free: 2.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4803, allocations: 3.938 kB / 0.6072 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.4805, allocations: 39.95 kB / 0.6072 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4805, allocations: 0 / 0.6072 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.4805, allocations: 15.98 kB / 0.6072 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4805, allocations: 3.938 kB / 0.6072 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4805, allocations: 0 / 0.6072 GB, free: 2.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.4813, allocations: 461.9 kB / 0.6077 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.4815, allocations: 120.8 kB / 0.6078 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.4815, allocations: 31.73 kB / 0.6078 GB, free: 1.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4818, allocations: 19.91 kB / 0.6078 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.4819, allocations: 15.98 kB / 0.6078 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.4819, allocations: 7.984 kB / 0.6079 GB, free: 1.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004647/0.4824, allocations: 342.9 kB / 0.6082 GB, free: 1.277 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4824, allocations: 0 / 0.6082 GB, free: 1.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002733/0.4851, allocations: 0.8538 MB / 0.609 GB, free: 432 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.005051/0.4902, allocations: 1.898 MB / 0.6109 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008035/0.491, allocations: 272.5 kB / 0.6111 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.491, allocations: 4 kB / 0.6111 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.4914, allocations: 159.9 kB / 0.6113 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4924, allocations: 185.7 kB / 0.6115 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006923/0.4993, allocations: 4.032 MB / 0.6154 GB, free: 9.691 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.4998, allocations: 0.8422 MB / 0.6162 GB, free: 8.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003677/0.5002, allocations: 146.8 kB / 0.6164 GB, free: 8.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.5004, allocations: 163.4 kB / 0.6165 GB, free: 8.52 MB / 478.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5004, allocations: 0 / 0.6165 GB, free: 8.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08256/0.583, allocations: 39.06 MB / 0.6547 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.02, allocations: 10.3 kB / 0.6547 GB, free: 1.598 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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)