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.5/1.5, allocations: 249.3 MB / 261.8 MB, free: 6.008 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.001078/0.001078, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0008192/0.0008192, allocations: 99.97 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.056e-05/5.061e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2808, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.784/6.065, allocations: 2.228 GB / 3.12 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/6.065, allocations: 87.95 kB / 3.12 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.418/7.483, allocations: 424.9 MB / 3.535 GB, free: 54.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.223e-06/7.483, allocations: 0 / 3.535 GB, free: 54.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.112e-05/7.484, allocations: 12 kB / 3.535 GB, free: 54.2 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.001946/7.485, allocations: 0.8529 MB / 3.536 GB, free: 53.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/7.486, allocations: 8.031 kB / 3.536 GB, free: 53.29 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/7.486, allocations: 86.45 kB / 3.536 GB, free: 53.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/7.487, allocations: 147.3 kB / 3.536 GB, free: 53.05 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/7.488, allocations: 0.6917 MB / 3.537 GB, free: 52.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/7.488, allocations: 28.78 kB / 3.537 GB, free: 52.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.58e-05/7.488, allocations: 47.91 kB / 3.537 GB, free: 52.24 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/7.489, allocations: 355.6 kB / 3.537 GB, free: 51.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/7.489, allocations: 0 / 3.537 GB, free: 51.89 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/7.489, allocations: 16 kB / 3.537 GB, free: 51.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/7.489, allocations: 15.98 kB / 3.537 GB, free: 51.86 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/7.49, allocations: 307 kB / 3.537 GB, free: 51.56 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.001789/7.491, allocations: 1.391 MB / 3.539 GB, free: 50.05 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/7.492, allocations: 287.2 kB / 3.539 GB, free: 49.76 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/7.492, allocations: 145.4 kB / 3.539 GB, free: 49.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004457/7.492, allocations: 307.5 kB / 3.539 GB, free: 49.26 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/7.492, allocations: 38.91 kB / 3.539 GB, free: 49.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/7.492, allocations: 4 kB / 3.539 GB, free: 49.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0007034/7.493, allocations: 351.1 kB / 3.54 GB, free: 48.86 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/7.493, allocations: 55.41 kB / 3.54 GB, free: 48.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/7.493, allocations: 334.8 kB / 3.54 GB, free: 48.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/7.494, allocations: 37.64 kB / 3.54 GB, free: 48.42 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/7.494, allocations: 208.6 kB / 3.54 GB, free: 48.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/7.494, allocations: 118.3 kB / 3.54 GB, free: 48.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/7.494, allocations: 8 kB / 3.54 GB, free: 48.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/7.494, allocations: 358.8 kB / 3.541 GB, free: 47.73 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/7.494, allocations: 111.9 kB / 3.541 GB, free: 47.62 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/7.494, allocations: 172.6 kB / 3.541 GB, free: 47.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/7.494, allocations: 127.9 kB / 3.541 GB, free: 47.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/7.494, allocations: 4 kB / 3.541 GB, free: 47.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000476/7.495, allocations: 357.8 kB / 3.541 GB, free: 46.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/7.495, allocations: 4 kB / 3.541 GB, free: 46.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/7.495, allocations: 4 kB / 3.541 GB, free: 46.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/7.495, allocations: 0 / 3.541 GB, free: 46.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/7.495, allocations: 71.91 kB / 3.542 GB, free: 46.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/7.495, allocations: 0 / 3.542 GB, free: 46.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/7.496, allocations: 59.59 kB / 3.542 GB, free: 46.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/7.496, allocations: 12 kB / 3.542 GB, free: 46.8 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 7.921e-05/7.496, allocations: 121.6 kB / 3.542 GB, free: 46.67 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/7.496, allocations: 39.53 kB / 3.542 GB, free: 46.63 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006136/7.496, allocations: 409.7 kB / 3.542 GB, free: 46.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/7.496, allocations: 4 kB / 3.542 GB, free: 46.22 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/7.496, allocations: 3.938 kB / 3.542 GB, free: 46.22 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/7.496, allocations: 0 / 3.542 GB, free: 46.22 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/7.498, allocations: 0.9803 MB / 3.543 GB, free: 45.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/7.498, allocations: 0 / 3.543 GB, free: 45.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/7.498, allocations: 67.91 kB / 3.543 GB, free: 45.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/7.498, allocations: 4 kB / 3.543 GB, free: 45.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/7.498, allocations: 8 kB / 3.543 GB, free: 45.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/7.498, allocations: 7.953 kB / 3.543 GB, free: 45.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/7.498, allocations: 224 / 3.543 GB, free: 45.07 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/7.499, allocations: 0.7277 MB / 3.544 GB, free: 44.27 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/7.499, allocations: 148.6 kB / 3.544 GB, free: 44.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/7.499, allocations: 19.94 kB / 3.544 GB, free: 44.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/7.499, allocations: 31.92 kB / 3.544 GB, free: 44.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/7.499, allocations: 27.84 kB / 3.544 GB, free: 44.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/7.499, allocations: 12 kB / 3.544 GB, free: 44.01 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002205/7.5, allocations: 273.2 kB / 3.544 GB, free: 43.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.5, allocations: 0 / 3.544 GB, free: 43.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009603/7.501, allocations: 263.8 kB / 3.545 GB, free: 43.49 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.003347/7.504, allocations: 3.173 MB / 3.548 GB, free: 40.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004743/7.504, allocations: 287.8 kB / 3.548 GB, free: 39.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/7.505, allocations: 0 / 3.548 GB, free: 39.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/7.505, allocations: 156.3 kB / 3.548 GB, free: 39.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/7.506, allocations: 221 kB / 3.548 GB, free: 39.54 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/7.507, allocations: 0.9387 MB / 3.549 GB, free: 38.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/7.508, allocations: 0.8393 MB / 3.55 GB, free: 37.67 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003602/7.508, allocations: 100.2 kB / 3.55 GB, free: 37.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/7.508, allocations: 147.4 kB / 3.55 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of SimCode: time 8.41e-07/7.508, allocations: 0 / 3.55 GB, free: 37.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5983/8.107, allocations: 38.98 MB / 3.588 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/8.107, allocations: 207.9 kB / 3.589 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.39/11.5, allocations: 1.422 kB / 3.589 GB, free: 192.2 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)