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.428/1.428, allocations: 251.5 MB / 266.7 MB, free: 11.01 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.001122/0.001122, allocations: 180 kB / 325.9 MB, free: 2.668 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.857/1.857, allocations: 205 MB / 0.576 GB, free: 20.99 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.0008253/0.0008253, allocations: 85.53 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 8.562 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2155, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7211/0.9366, allocations: 177 MB / 1.069 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009694/0.9463, allocations: 7.929 MB / 1.077 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007079/0.947, allocations: 16.12 kB / 1.077 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007093/0.9478, allocations: 184.8 kB / 1.077 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.951, allocations: 1.145 MB / 1.078 GB, free: 1.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.953, allocations: 0.6663 MB / 1.079 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002154/0.9552, allocations: 1.578 MB / 1.08 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005922/0.9558, allocations: 352.7 kB / 1.081 GB, free: 1.516 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.9588, allocations: 0.7773 MB / 1.081 GB, free: 1.496 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008701/0.9597, allocations: 455.8 kB / 1.082 GB, free: 1.496 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.9598, allocations: 28.72 kB / 1.082 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002046/0.9618, allocations: 1.09 MB / 1.083 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.962, allocations: 147.8 kB / 1.083 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.9623, allocations: 236.5 kB / 1.083 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.9636, allocations: 0.9843 MB / 1.084 GB, free: 1.426 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9636, allocations: 0 / 1.084 GB, free: 1.426 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9636, allocations: 0 / 1.084 GB, free: 1.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.9637, allocations: 1.656 kB / 1.084 GB, free: 1.426 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.001156/0.9648, allocations: 0.7375 MB / 1.085 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.9649, allocations: 10.88 kB / 1.085 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.604e-05/0.9649, allocations: 76.75 kB / 1.085 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.9659, allocations: 156.9 kB / 1.085 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.9664, allocations: 395.9 kB / 1.086 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.9665, allocations: 32.47 kB / 1.086 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.9665, allocations: 41.62 kB / 1.086 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.9672, allocations: 391.7 kB / 1.086 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.9672, allocations: 0 / 1.086 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.9673, allocations: 15.12 kB / 1.086 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.9673, allocations: 9.312 kB / 1.086 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.9679, allocations: 371.6 kB / 1.086 GB, free: 16.51 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.001732/0.9697, allocations: 1.417 MB / 1.088 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.9702, allocations: 328.8 kB / 1.088 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.9705, allocations: 192 kB / 1.088 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/0.9711, allocations: 332.6 kB / 1.089 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.9711, allocations: 34.78 kB / 1.089 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.9711, allocations: 0 / 1.089 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001103/0.9723, allocations: 0.5585 MB / 1.089 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.9723, allocations: 55.06 kB / 1.089 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/0.9728, allocations: 381.7 kB / 1.09 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.9728, allocations: 34.42 kB / 1.09 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.973, allocations: 213.8 kB / 1.09 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/0.9731, allocations: 118.2 kB / 1.09 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.9731, allocations: 33.67 kB / 1.09 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.9733, allocations: 348.2 kB / 1.09 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.9735, allocations: 143.8 kB / 1.09 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.9739, allocations: 194.5 kB / 1.091 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.9745, allocations: 328.6 kB / 1.091 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.9745, allocations: 4 kB / 1.091 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000731/0.9752, allocations: 425.8 kB / 1.091 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.9752, allocations: 5.062 kB / 1.091 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9753, allocations: 1.312 kB / 1.091 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.9753, allocations: 1.844 kB / 1.091 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.9756, allocations: 70.95 kB / 1.091 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-06/0.9756, allocations: 9.234 kB / 1.091 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.9759, allocations: 45.42 kB / 1.091 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.976, allocations: 13.41 kB / 1.091 GB, free: 14.56 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.9761, allocations: 167.8 kB / 1.092 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.9762, allocations: 49.92 kB / 1.092 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008714/0.9771, allocations: 474 kB / 1.092 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.9771, allocations: 2.969 kB / 1.092 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9771, allocations: 0 / 1.092 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9771, allocations: 0 / 1.092 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.9785, allocations: 1.066 MB / 1.093 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9786, allocations: 3.125 kB / 1.093 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.9789, allocations: 67.89 kB / 1.093 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.9789, allocations: 7.562 kB / 1.093 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.9789, allocations: 8.781 kB / 1.093 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.9789, allocations: 6.938 kB / 1.093 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.9789, allocations: 3.938 kB / 1.093 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.98, allocations: 0.765 MB / 1.094 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.9801, allocations: 158.7 kB / 1.094 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.9802, allocations: 13.27 kB / 1.094 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.9805, allocations: 28.34 kB / 1.094 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.9805, allocations: 41.52 kB / 1.094 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.9806, allocations: 8 kB / 1.094 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002377/0.9808, allocations: 273.8 kB / 1.095 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9808, allocations: 0 / 1.095 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004279/0.9812, allocations: 123.2 kB / 1.095 GB, free: 13.52 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 (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.001546/0.9828, allocations: 1.375 MB / 1.096 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006141/0.9834, allocations: 360.6 kB / 1.096 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9834, allocations: 0 / 1.096 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.9838, allocations: 197.4 kB / 1.097 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.9849, allocations: 213 kB / 1.097 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.9901, allocations: 4.342 MB / 1.101 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.9906, allocations: 0.8346 MB / 1.102 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003826/0.991, allocations: 103.5 kB / 1.102 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.9912, allocations: 145.9 kB / 1.102 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.9912, allocations: 0 / 1.102 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3527/1.344, allocations: 11.49 MB / 1.113 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/1.344, allocations: 253.9 kB / 1.113 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.834, allocations: 0.5312 kB / 1.113 GB, free: 8.875 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)