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.424/1.424, allocations: 249.5 MB / 257 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 180.8 kB / 316.3 MB, free: 3.238 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.5/1.5, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008303/0.0008303, allocations: 94.53 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.131e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1719, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.439/5.611, allocations: 2.228 GB / 3.113 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/5.611, allocations: 87.52 kB / 3.114 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.314/6.925, allocations: 419.8 MB / 3.523 GB, free: 66.24 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/6.925, allocations: 0 / 3.523 GB, free: 66.24 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.562e-05/6.925, allocations: 20 kB / 3.524 GB, free: 66.22 MB / 0.8698 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.001624/6.927, allocations: 0.8488 MB / 3.524 GB, free: 65.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/6.927, allocations: 11.97 kB / 3.524 GB, free: 65.31 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/6.928, allocations: 155.3 kB / 3.524 GB, free: 65.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/6.929, allocations: 0.6954 MB / 3.525 GB, free: 64.42 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/6.929, allocations: 12 kB / 3.525 GB, free: 64.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/6.929, allocations: 27.91 kB / 3.525 GB, free: 64.38 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004275/6.93, allocations: 289.5 kB / 3.525 GB, free: 64.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/6.93, allocations: 302.1 kB / 3.526 GB, free: 63.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/6.93, allocations: 0 / 3.526 GB, free: 63.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/6.93, allocations: 0 / 3.526 GB, free: 63.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/6.93, allocations: 11.98 kB / 3.526 GB, free: 63.79 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001409/6.932, allocations: 1.288 MB / 3.527 GB, free: 62.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/6.932, allocations: 271 kB / 3.527 GB, free: 62.12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/6.932, allocations: 137.4 kB / 3.527 GB, free: 61.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/6.933, allocations: 307.5 kB / 3.528 GB, free: 61.63 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/6.933, allocations: 34.84 kB / 3.528 GB, free: 61.59 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/6.933, allocations: 0 / 3.528 GB, free: 61.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.00107/6.934, allocations: 459.5 kB / 3.528 GB, free: 61.13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/6.934, allocations: 55.41 kB / 3.528 GB, free: 61.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/6.934, allocations: 213.2 kB / 3.528 GB, free: 60.85 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/6.934, allocations: 25.7 kB / 3.528 GB, free: 60.82 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/6.934, allocations: 224.4 kB / 3.529 GB, free: 60.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/6.934, allocations: 118.2 kB / 3.529 GB, free: 60.48 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/6.934, allocations: 0 / 3.529 GB, free: 60.48 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001047/6.934, allocations: 338.8 kB / 3.529 GB, free: 60.14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/6.934, allocations: 104 kB / 3.529 GB, free: 60.04 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/6.935, allocations: 168.5 kB / 3.529 GB, free: 59.86 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/6.935, allocations: 264.8 kB / 3.53 GB, free: 59.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/6.935, allocations: 0 / 3.53 GB, free: 59.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007682/6.936, allocations: 456.7 kB / 3.53 GB, free: 59.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/6.936, allocations: 7.938 kB / 3.53 GB, free: 59.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/6.936, allocations: 4 kB / 3.53 GB, free: 59.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/6.936, allocations: 0 / 3.53 GB, free: 59.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/6.936, allocations: 71.91 kB / 3.53 GB, free: 59.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/6.936, allocations: 12.02 kB / 3.53 GB, free: 59.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/6.937, allocations: 31.83 kB / 3.53 GB, free: 59.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/6.937, allocations: 15.98 kB / 3.53 GB, free: 59 MB / 0.8698 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 () * 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 8.384e-05/6.937, allocations: 112.9 kB / 3.53 GB, free: 58.89 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008223/6.938, allocations: 432.9 kB / 3.531 GB, free: 58.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/6.938, allocations: 39.55 kB / 3.531 GB, free: 58.42 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008829/6.939, allocations: 493.2 kB / 3.531 GB, free: 57.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/6.939, allocations: 4 kB / 3.531 GB, free: 57.92 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/6.939, allocations: 4 kB / 3.531 GB, free: 57.92 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/6.939, allocations: 3.984 kB / 3.531 GB, free: 57.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/6.94, allocations: 1.034 MB / 3.532 GB, free: 56.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/6.94, allocations: 4 kB / 3.532 GB, free: 56.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/6.94, allocations: 64.12 kB / 3.532 GB, free: 56.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/6.94, allocations: 8 kB / 3.532 GB, free: 56.74 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/6.941, allocations: 7.984 kB / 3.532 GB, free: 56.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/6.941, allocations: 7.938 kB / 3.532 GB, free: 56.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/6.941, allocations: 7.953 kB / 3.532 GB, free: 56.72 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/6.942, allocations: 0.8136 MB / 3.533 GB, free: 55.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/6.942, allocations: 144.7 kB / 3.533 GB, free: 55.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/6.942, allocations: 7.953 kB / 3.533 GB, free: 55.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/6.942, allocations: 27.95 kB / 3.533 GB, free: 55.63 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/6.942, allocations: 27.97 kB / 3.533 GB, free: 55.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/6.942, allocations: 12 kB / 3.533 GB, free: 55.59 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001157/6.942, allocations: 176.6 kB / 3.534 GB, free: 55.42 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.942, allocations: 0 / 3.534 GB, free: 55.42 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007749/6.943, allocations: 215.6 kB / 3.534 GB, free: 55.21 MB / 0.8698 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 () * 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.003165/6.946, allocations: 3.459 MB / 3.537 GB, free: 51.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004465/6.947, allocations: 276 kB / 3.537 GB, free: 51.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/6.947, allocations: 0 / 3.537 GB, free: 51.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/6.947, allocations: 151.8 kB / 3.538 GB, free: 51.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/6.948, allocations: 117.4 kB / 3.538 GB, free: 51.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/6.949, allocations: 0.8886 MB / 3.539 GB, free: 50.14 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/6.949, allocations: 0.8464 MB / 3.539 GB, free: 49.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002645/6.949, allocations: 83.23 kB / 3.539 GB, free: 49.19 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/6.95, allocations: 139.4 kB / 3.54 GB, free: 49.05 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/6.95, allocations: 0 / 3.54 GB, free: 49.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03872/6.988, allocations: 20.13 MB / 3.559 GB, free: 29 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/6.989, allocations: 183.7 kB / 3.559 GB, free: 28.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/9.862, allocations: 0 / 3.559 GB, free: 28.81 MB / 0.8698 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)