Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 188.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 76.3 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2286, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.619/0.8477, allocations: 167.5 MB / 0.9472 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007511/0.8552, allocations: 6.536 MB / 0.9536 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.8559, allocations: 11.94 kB / 0.9536 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.8565, allocations: 167.3 kB / 0.9538 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.8588, allocations: 0.847 MB / 0.9546 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.8597, allocations: 334.2 kB / 0.9549 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008117/0.8606, allocations: 0.7193 MB / 0.9556 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004141/0.861, allocations: 268.7 kB / 0.9559 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.8622, allocations: 0.5526 MB / 0.9564 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.8626, allocations: 271.3 kB / 0.9567 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.8627, allocations: 26.88 kB / 0.9567 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006501/0.8633, allocations: 336.3 kB / 0.957 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.8635, allocations: 107.4 kB / 0.9571 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.8636, allocations: 162.2 kB / 0.9573 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000628/0.8643, allocations: 485.1 kB / 0.9578 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.8643, allocations: 0 / 0.9578 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8643, allocations: 1.312 kB / 0.9578 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.8643, allocations: 0 / 0.9578 GB, free: 0.5977 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008456/0.8652, allocations: 0.6159 MB / 0.9584 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8652, allocations: 9.844 kB / 0.9584 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/0.8653, allocations: 60.27 kB / 0.9584 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.8656, allocations: 59.28 kB / 0.9585 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.8661, allocations: 334.1 kB / 0.9588 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.8661, allocations: 18.81 kB / 0.9588 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.8661, allocations: 23.53 kB / 0.9588 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.8666, allocations: 321.5 kB / 0.9591 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8667, allocations: 1.203 kB / 0.9591 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.8667, allocations: 10.94 kB / 0.9592 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.8667, allocations: 5.75 kB / 0.9592 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.8671, allocations: 208.6 kB / 0.9594 GB, free: 15.71 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.8685, allocations: 1.528 MB / 0.9609 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.8688, allocations: 129.1 kB / 0.961 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.8689, allocations: 92.22 kB / 0.9611 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005496/0.8695, allocations: 301.8 kB / 0.9614 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.8695, allocations: 31.69 kB / 0.9614 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.8695, allocations: 4 kB / 0.9614 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007144/0.8703, allocations: 265.7 kB / 0.9616 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.8703, allocations: 57.59 kB / 0.9617 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.8706, allocations: 306.3 kB / 0.962 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.8707, allocations: 30.42 kB / 0.962 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.8708, allocations: 189.6 kB / 0.9622 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.8708, allocations: 42.39 kB / 0.9622 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.8709, allocations: 38.39 kB / 0.9623 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.871, allocations: 335.3 kB / 0.9626 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.8712, allocations: 57.28 kB / 0.9626 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.8714, allocations: 114.8 kB / 0.9628 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.8717, allocations: 175.5 kB / 0.9629 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8717, allocations: 6.109 kB / 0.9629 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003934/0.8721, allocations: 221.7 kB / 0.9631 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8721, allocations: 5.375 kB / 0.9631 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.8721, allocations: 1.125 kB / 0.9631 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8722, allocations: 7.125 kB / 0.9632 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.8723, allocations: 38.81 kB / 0.9632 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.8723, allocations: 2.344 kB / 0.9632 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.8725, allocations: 34.97 kB / 0.9632 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.8726, allocations: 5.25 kB / 0.9632 GB, free: 13.28 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000149/0.8727, allocations: 153.9 kB / 0.9634 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.8728, allocations: 28.53 kB / 0.9634 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.8732, allocations: 217.6 kB / 0.9636 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.8732, allocations: 1.281 kB / 0.9636 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8732, allocations: 0 / 0.9636 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8732, allocations: 1.203 kB / 0.9636 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000975/0.8742, allocations: 0.69 MB / 0.9643 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8742, allocations: 1.438 kB / 0.9643 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.8743, allocations: 29.02 kB / 0.9643 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.8743, allocations: 4.219 kB / 0.9643 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.8744, allocations: 6.562 kB / 0.9643 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.8744, allocations: 6.188 kB / 0.9643 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.8744, allocations: 6.938 kB / 0.9643 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.8748, allocations: 334.1 kB / 0.9647 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.875, allocations: 123.5 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.875, allocations: 8.297 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.8752, allocations: 11.86 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.8752, allocations: 12.72 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.8752, allocations: 4.938 kB / 0.9648 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001974/0.8754, allocations: 228.6 kB / 0.965 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8754, allocations: 1.25 kB / 0.965 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005019/0.8759, allocations: 72 kB / 0.9651 GB, free: 12.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0009657/0.8769, allocations: 0.9196 MB / 0.966 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.8773, allocations: 161.3 kB / 0.9662 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8773, allocations: 0 / 0.9662 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.8775, allocations: 88.44 kB / 0.9662 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/0.8784, allocations: 150.8 kB / 0.9664 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.8819, allocations: 2.804 MB / 0.9691 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.8823, allocations: 0.7831 MB / 0.9699 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.8826, allocations: 62.11 kB / 0.9699 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.8827, allocations: 91.98 kB / 0.97 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/0.8827, allocations: 0 / 0.97 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.91, allocations: 8.042 MB / 0.9779 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/8.374, allocations: 12.94 kB / 0.9779 GB, free: 6.672 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)