Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.453/1.453, allocations: 251.9 MB / 266.9 MB, free: 11 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.001143/0.001143, allocations: 180 kB / 326.5 MB, free: 2.227 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.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009066/0.0009067, allocations: 82.39 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 12.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2448, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.171/0.4159, allocations: 149.7 MB / 1.046 GB, free: 9.777 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008677/0.4246, allocations: 6.607 MB / 1.053 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005574/0.4252, allocations: 15.88 kB / 1.053 GB, free: 3.141 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009191/0.4261, allocations: 254.8 kB / 1.053 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.4285, allocations: 0.8373 MB / 1.054 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.4302, allocations: 0.6059 MB / 1.054 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.4313, allocations: 0.6441 MB / 1.055 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000636/0.4319, allocations: 347.2 kB / 1.055 GB, free: 472 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6704/1.102, allocations: 0.6972 MB / 1.056 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008557/1.103, allocations: 338.5 kB / 1.056 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/1.103, allocations: 26.88 kB / 1.056 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/1.105, allocations: 443.9 kB / 1.057 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/1.105, allocations: 137.6 kB / 1.057 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/1.105, allocations: 120.6 kB / 1.057 GB, free: 3.945 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006793/1.106, allocations: 0.5314 MB / 1.058 GB, free: 3.906 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/1.106, allocations: 1.406 kB / 1.058 GB, free: 3.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/1.106, allocations: 0 / 1.058 GB, free: 3.906 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.183e-06/1.106, allocations: 0 / 1.058 GB, free: 3.906 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001362/1.107, allocations: 0.725 MB / 1.058 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.107, allocations: 12.16 kB / 1.058 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.547e-05/1.107, allocations: 78.36 kB / 1.058 GB, free: 19.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009331/1.108, allocations: 154.4 kB / 1.059 GB, free: 19.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000636/1.109, allocations: 384.7 kB / 1.059 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/1.109, allocations: 32.84 kB / 1.059 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/1.109, allocations: 36.44 kB / 1.059 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/1.11, allocations: 387.5 kB / 1.059 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/1.11, allocations: 1.172 kB / 1.059 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/1.11, allocations: 13.25 kB / 1.059 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/1.11, allocations: 9.484 kB / 1.059 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000657/1.11, allocations: 359.2 kB / 1.06 GB, free: 19.04 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.002324/1.113, allocations: 1.432 MB / 1.061 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/1.113, allocations: 327.4 kB / 1.061 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/1.114, allocations: 147.2 kB / 1.062 GB, free: 18.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.114, allocations: 35.47 kB / 1.062 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.525e-06/1.114, allocations: 0 / 1.062 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001329/1.115, allocations: 0.556 MB / 1.062 GB, free: 18.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/1.115, allocations: 59.03 kB / 1.062 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/1.116, allocations: 376.3 kB / 1.063 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/1.116, allocations: 32.39 kB / 1.063 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/1.116, allocations: 213.1 kB / 1.063 GB, free: 17.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/1.116, allocations: 113.1 kB / 1.063 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/1.116, allocations: 6.125 kB / 1.063 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.116, allocations: 357.4 kB / 1.063 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/1.117, allocations: 141.2 kB / 1.063 GB, free: 17.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/1.117, allocations: 182.4 kB / 1.064 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/1.117, allocations: 161.5 kB / 1.064 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.117, allocations: 2.812 kB / 1.064 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008895/1.118, allocations: 423.3 kB / 1.064 GB, free: 17.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/1.118, allocations: 9.625 kB / 1.064 GB, free: 17.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.118, allocations: 0 / 1.064 GB, free: 17.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/1.118, allocations: 3.094 kB / 1.064 GB, free: 17.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/1.119, allocations: 68.89 kB / 1.064 GB, free: 17.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.119, allocations: 2.844 kB / 1.064 GB, free: 17.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/1.119, allocations: 54.41 kB / 1.064 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/1.119, allocations: 10.53 kB / 1.064 GB, free: 17.35 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 (37): * Single equations (assignments): 37 * 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.0003068/1.12, allocations: 170.1 kB / 1.064 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/1.12, allocations: 48.17 kB / 1.064 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000982/1.121, allocations: 469.6 kB / 1.065 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/1.121, allocations: 2.656 kB / 1.065 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.121, allocations: 0 / 1.065 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.121, allocations: 7.141 kB / 1.065 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/1.123, allocations: 1.07 MB / 1.066 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.123, allocations: 1.5 kB / 1.066 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/1.123, allocations: 68.55 kB / 1.066 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/1.123, allocations: 3.031 kB / 1.066 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/1.123, allocations: 10.05 kB / 1.066 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/1.123, allocations: 8.656 kB / 1.066 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.123, allocations: 4.781 kB / 1.066 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/1.125, allocations: 0.8338 MB / 1.067 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/1.125, allocations: 161.5 kB / 1.067 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/1.125, allocations: 12 kB / 1.067 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/1.126, allocations: 31.66 kB / 1.067 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.126, allocations: 24.34 kB / 1.067 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/1.126, allocations: 13.72 kB / 1.067 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005117/1.126, allocations: 270.8 kB / 1.067 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 1.067 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001059/1.127, allocations: 116.6 kB / 1.067 GB, free: 16.22 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.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 (33): * Single equations (assignments): 33 * 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.003022/1.13, allocations: 1.935 MB / 1.069 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001082/1.132, allocations: 356 kB / 1.07 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.132, allocations: 0 / 1.07 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/1.132, allocations: 195.9 kB / 1.07 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/1.133, allocations: 210.5 kB / 1.07 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005742/1.139, allocations: 2.946 MB / 1.073 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/1.14, allocations: 0.8419 MB / 1.074 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005821/1.14, allocations: 106.8 kB / 1.074 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/1.141, allocations: 146.8 kB / 1.074 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/1.141, allocations: 0 / 1.074 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/1.173, allocations: 11.41 MB / 1.085 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/1.173, allocations: 236.1 kB / 1.085 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.55, allocations: 4 kB / 1.085 GB, free: 11.9 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)