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.488/1.488, allocations: 252 MB / 267 MB, free: 10.98 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.001209/0.001209, allocations: 184.6 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 0.5777 GB, free: 20.3 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.0008034/0.0008035, allocations: 84.2 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003467, allocations: 8.594 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2709, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8743/1.145, allocations: 163.3 MB / 1.06 GB, free: 4.293 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0103/1.156, allocations: 7.345 MB / 1.067 GB, free: 4.219 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000855/1.157, allocations: 15.41 kB / 1.067 GB, free: 4.219 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007479/1.157, allocations: 163.8 kB / 1.067 GB, free: 4.219 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003081/1.16, allocations: 0.8855 MB / 1.068 GB, free: 4.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/1.162, allocations: 0.5304 MB / 1.068 GB, free: 4.168 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002065/1.165, allocations: 1.333 MB / 1.07 GB, free: 4.164 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006219/1.165, allocations: 336.8 kB / 1.07 GB, free: 4.129 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/1.167, allocations: 0.6953 MB / 1.071 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/1.168, allocations: 446.3 kB / 1.071 GB, free: 4.113 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.494e-05/1.168, allocations: 24.75 kB / 1.071 GB, free: 4.113 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/1.17, allocations: 0.5235 MB / 1.072 GB, free: 4.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002962/1.171, allocations: 144.7 kB / 1.072 GB, free: 4.102 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/1.171, allocations: 114.7 kB / 1.072 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/1.172, allocations: 0.6051 MB / 1.073 GB, free: 4.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.172, allocations: 0.5938 kB / 1.073 GB, free: 4.016 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.348e-06/1.172, allocations: 0 / 1.073 GB, free: 4.016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.078e-05/1.172, allocations: 4 kB / 1.073 GB, free: 4.012 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.001837/1.174, allocations: 0.7377 MB / 1.073 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/1.174, allocations: 9.719 kB / 1.073 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/1.174, allocations: 80.88 kB / 1.073 GB, free: 19.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/1.176, allocations: 146.8 kB / 1.074 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007265/1.176, allocations: 390.8 kB / 1.074 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/1.176, allocations: 30.72 kB / 1.074 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/1.176, allocations: 41.42 kB / 1.074 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/1.177, allocations: 386.7 kB / 1.074 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.177, allocations: 4.625 kB / 1.074 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/1.177, allocations: 17.67 kB / 1.074 GB, free: 19.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/1.177, allocations: 9.031 kB / 1.074 GB, free: 19.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008132/1.178, allocations: 359.1 kB / 1.075 GB, free: 19.12 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.002441/1.181, allocations: 1.421 MB / 1.076 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/1.181, allocations: 335.9 kB / 1.076 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/1.182, allocations: 184.8 kB / 1.077 GB, free: 18.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007636/1.183, allocations: 320.5 kB / 1.077 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/1.183, allocations: 39.36 kB / 1.077 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.504e-06/1.183, allocations: 0 / 1.077 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001494/1.184, allocations: 0.5613 MB / 1.077 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/1.184, allocations: 59.02 kB / 1.078 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/1.185, allocations: 379.1 kB / 1.078 GB, free: 17.85 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/1.185, allocations: 34.62 kB / 1.078 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/1.185, allocations: 200.2 kB / 1.078 GB, free: 17.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/1.185, allocations: 118.7 kB / 1.078 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/1.185, allocations: 7.188 kB / 1.078 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.185, allocations: 351.3 kB / 1.079 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/1.186, allocations: 142.9 kB / 1.079 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/1.186, allocations: 181.7 kB / 1.079 GB, free: 17.31 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/1.186, allocations: 161 kB / 1.079 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.186, allocations: 1.281 kB / 1.079 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007804/1.187, allocations: 424.3 kB / 1.079 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.187, allocations: 5.781 kB / 1.079 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.187, allocations: 1.281 kB / 1.079 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.187, allocations: 5.438 kB / 1.079 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/1.188, allocations: 73.86 kB / 1.08 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.188, allocations: 3.891 kB / 1.08 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/1.188, allocations: 59.36 kB / 1.08 GB, free: 17.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/1.188, allocations: 15.5 kB / 1.08 GB, free: 17.2 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.0002628/1.188, allocations: 164.7 kB / 1.08 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/1.188, allocations: 40.25 kB / 1.08 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/1.189, allocations: 467.4 kB / 1.08 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.189, allocations: 6.688 kB / 1.08 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.189, allocations: 1.531 kB / 1.08 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.189, allocations: 3.188 kB / 1.08 GB, free: 17.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/1.191, allocations: 1.069 MB / 1.081 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.192, allocations: 5.078 kB / 1.081 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/1.192, allocations: 63.97 kB / 1.081 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/1.192, allocations: 7.984 kB / 1.081 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/1.192, allocations: 14.95 kB / 1.081 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.796e-06/1.192, allocations: 12.22 kB / 1.081 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.192, allocations: 1.344 kB / 1.081 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/1.193, allocations: 0.7658 MB / 1.082 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/1.193, allocations: 151.9 kB / 1.082 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/1.193, allocations: 16.31 kB / 1.082 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/1.194, allocations: 26.81 kB / 1.082 GB, free: 16.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/1.194, allocations: 30.58 kB / 1.082 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/1.194, allocations: 16.22 kB / 1.082 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003018/1.194, allocations: 267.2 kB / 1.083 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.194, allocations: 2.734 kB / 1.083 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005524/1.195, allocations: 121.8 kB / 1.083 GB, free: 16.18 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.001816/1.197, allocations: 1.374 MB / 1.084 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008024/1.197, allocations: 362.7 kB / 1.084 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.197, allocations: 1.25 kB / 1.084 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/1.198, allocations: 197.1 kB / 1.085 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/1.199, allocations: 212.7 kB / 1.085 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/1.205, allocations: 2.817 MB / 1.088 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/1.206, allocations: 0.8346 MB / 1.088 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005758/1.206, allocations: 106.9 kB / 1.089 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/1.207, allocations: 142.5 kB / 1.089 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of SimCode: time 2.685e-06/1.207, allocations: 0 / 1.089 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/1.233, allocations: 11.43 MB / 1.1 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.233, allocations: 241.8 kB / 1.1 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.637, allocations: 4 kB / 1.1 GB, free: 12.54 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)