Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001596, allocations: 187 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.955/1.955, allocations: 205.4 MB / 0.5777 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007988/0.0007985, allocations: 79.92 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 9.406 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1826/0.4382, allocations: 152.3 MB / 1.049 GB, free: 7.059 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009034/0.4472, allocations: 6.134 MB / 1.055 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007311/0.448, allocations: 11.94 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006793/0.4487, allocations: 119.1 kB / 1.055 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002263/0.451, allocations: 0.5987 MB / 1.056 GB, free: 184 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.6453/1.096, allocations: 256.5 kB / 1.056 GB, free: 4.59 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001744/1.098, allocations: 0.881 MB / 1.057 GB, free: 4.586 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004934/1.099, allocations: 218.6 kB / 1.057 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/1.1, allocations: 462.6 kB / 1.058 GB, free: 4.578 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/1.101, allocations: 276.9 kB / 1.058 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/1.101, allocations: 14.53 kB / 1.058 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007904/1.101, allocations: 204.9 kB / 1.058 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/1.102, allocations: 101.2 kB / 1.058 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005821/1.102, allocations: 86.3 kB / 1.058 GB, free: 20.54 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000593/1.103, allocations: 320.4 kB / 1.058 GB, free: 20.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.103, allocations: 0 / 1.058 GB, free: 20.53 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.278e-06/1.103, allocations: 0 / 1.058 GB, free: 20.53 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.708e-06/1.103, allocations: 1.219 kB / 1.058 GB, free: 20.53 MB / 0.7136 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.001114/1.104, allocations: 0.5746 MB / 1.059 GB, free: 20.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/1.104, allocations: 10.5 kB / 1.059 GB, free: 20.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.562e-05/1.104, allocations: 61.88 kB / 1.059 GB, free: 20.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000315/1.104, allocations: 64.94 kB / 1.059 GB, free: 20.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/1.105, allocations: 306.9 kB / 1.059 GB, free: 19.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/1.105, allocations: 25.45 kB / 1.059 GB, free: 19.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/1.105, allocations: 32.45 kB / 1.06 GB, free: 19.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/1.106, allocations: 307.1 kB / 1.06 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.106, allocations: 1.188 kB / 1.06 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/1.106, allocations: 9.047 kB / 1.06 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/1.106, allocations: 8.125 kB / 1.06 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/1.106, allocations: 233.4 kB / 1.06 GB, free: 19.74 MB / 0.7136 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.001938/1.108, allocations: 1.158 MB / 1.061 GB, free: 19.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/1.109, allocations: 190.6 kB / 1.061 GB, free: 19.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/1.109, allocations: 115.9 kB / 1.061 GB, free: 19.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007679/1.11, allocations: 321.9 kB / 1.062 GB, free: 18.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/1.11, allocations: 34.19 kB / 1.062 GB, free: 18.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 3.316e-06/1.11, allocations: 2.844 kB / 1.062 GB, free: 18.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001002/1.111, allocations: 355.3 kB / 1.062 GB, free: 18.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/1.111, allocations: 54.52 kB / 1.062 GB, free: 18.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/1.111, allocations: 298.8 kB / 1.062 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/1.111, allocations: 33.02 kB / 1.063 GB, free: 18.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/1.112, allocations: 161.6 kB / 1.063 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/1.112, allocations: 75.23 kB / 1.063 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/1.112, allocations: 3.25 kB / 1.063 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002504/1.112, allocations: 344 kB / 1.063 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/1.112, allocations: 80.78 kB / 1.063 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/1.112, allocations: 117.2 kB / 1.063 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/1.113, allocations: 87.16 kB / 1.063 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.113, allocations: 3.609 kB / 1.063 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005745/1.113, allocations: 261.1 kB / 1.064 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.113, allocations: 3.5 kB / 1.064 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.113, allocations: 2.562 kB / 1.064 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.113, allocations: 0 / 1.064 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/1.114, allocations: 45.48 kB / 1.064 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.114, allocations: 0.5156 kB / 1.064 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/1.114, allocations: 38.72 kB / 1.064 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/1.114, allocations: 6.484 kB / 1.064 GB, free: 17.91 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.0002201/1.114, allocations: 152.6 kB / 1.064 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/1.114, allocations: 32.42 kB / 1.064 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007202/1.115, allocations: 287.4 kB / 1.064 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.115, allocations: 1.859 kB / 1.064 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.115, allocations: 0 / 1.064 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.115, allocations: 4.234 kB / 1.064 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/1.117, allocations: 0.7762 MB / 1.065 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/1.117, allocations: 2.875 kB / 1.065 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/1.117, allocations: 41.77 kB / 1.065 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.117, allocations: 3.094 kB / 1.065 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.117, allocations: 7.203 kB / 1.065 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.117, allocations: 3.859 kB / 1.065 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.117, allocations: 9.922 kB / 1.065 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/1.118, allocations: 0.5062 MB / 1.065 GB, free: 17.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.118, allocations: 131 kB / 1.066 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/1.118, allocations: 6.094 kB / 1.066 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/1.118, allocations: 26.03 kB / 1.066 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/1.118, allocations: 15.61 kB / 1.066 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/1.118, allocations: 7.969 kB / 1.066 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002653/1.118, allocations: 217.2 kB / 1.066 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.118, allocations: 0 / 1.066 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004095/1.119, allocations: 85.53 kB / 1.066 GB, free: 16.92 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.h_out) * 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 (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.001807/1.121, allocations: 1.09 MB / 1.067 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006026/1.121, allocations: 212.1 kB / 1.067 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.121, allocations: 0 / 1.067 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/1.122, allocations: 116.7 kB / 1.067 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009797/1.123, allocations: 156.8 kB / 1.067 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/1.127, allocations: 1.906 MB / 1.069 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/1.127, allocations: 0.788 MB / 1.07 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003905/1.127, allocations: 67.47 kB / 1.07 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/1.128, allocations: 90.14 kB / 1.07 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/1.128, allocations: 4 kB / 1.07 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/1.157, allocations: 7.884 MB / 1.078 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.157, allocations: 226.9 kB / 1.078 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.35, allocations: 4 kB / 1.078 GB, free: 13.88 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)