Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.412/2.412, allocations: 284.9 MB / 292.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 172.9 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 99.36 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.012e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7856, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.386/7.172, allocations: 2.108 GB / 3.071 GB, free: 11.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/7.172, allocations: 92.34 kB / 3.071 GB, free: 11.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.75/9.922, allocations: 433.4 MB / 3.495 GB, free: 229.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.084e-06/9.922, allocations: 0 / 3.495 GB, free: 229.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.091e-05/9.922, allocations: 18.11 kB / 3.495 GB, free: 229.8 MB / 0.948 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.002179/9.925, allocations: 0.8383 MB / 3.495 GB, free: 229.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/9.925, allocations: 7.312 kB / 3.495 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/9.926, allocations: 149.4 kB / 3.496 GB, free: 229.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/9.929, allocations: 0.6878 MB / 3.496 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/9.929, allocations: 11.66 kB / 3.496 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/9.929, allocations: 23.53 kB / 3.496 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007131/9.93, allocations: 248.2 kB / 3.496 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/9.93, allocations: 365.2 kB / 3.497 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/9.93, allocations: 0 / 3.497 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.539e-05/9.93, allocations: 3.953 kB / 3.497 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/9.931, allocations: 11.75 kB / 3.497 GB, free: 229.1 MB / 0.948 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.002817/9.933, allocations: 1.892 MB / 3.499 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/9.934, allocations: 198.2 kB / 3.499 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/9.934, allocations: 117.4 kB / 3.499 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007039/9.935, allocations: 304.8 kB / 3.499 GB, free: 227.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/9.935, allocations: 36.03 kB / 3.499 GB, free: 227.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=24): time 2.404e-06/9.935, allocations: 0 / 3.499 GB, free: 227.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=24): time 0.001514/9.936, allocations: 378.4 kB / 3.5 GB, free: 227.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/9.936, allocations: 54 kB / 3.5 GB, free: 227.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/9.937, allocations: 236.2 kB / 3.5 GB, free: 227.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/9.937, allocations: 27.2 kB / 3.5 GB, free: 227.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/9.937, allocations: 237.7 kB / 3.5 GB, free: 227.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/9.937, allocations: 80.45 kB / 3.5 GB, free: 227 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/9.937, allocations: 0 / 3.5 GB, free: 227 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/9.937, allocations: 340 kB / 3.501 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/9.937, allocations: 84.67 kB / 3.501 GB, free: 226.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/9.938, allocations: 171.7 kB / 3.501 GB, free: 226.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008063/9.938, allocations: 207.3 kB / 3.501 GB, free: 226.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/9.938, allocations: 0 / 3.501 GB, free: 226.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001246/9.94, allocations: 386.4 kB / 3.501 GB, free: 226.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/9.94, allocations: 6.594 kB / 3.501 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/9.94, allocations: 1.5 kB / 3.501 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/9.94, allocations: 3.531 kB / 3.501 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/9.94, allocations: 67.81 kB / 3.501 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/9.94, allocations: 11.47 kB / 3.501 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/9.941, allocations: 43.08 kB / 3.502 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/9.941, allocations: 17.53 kB / 3.502 GB, free: 226.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.000113/9.941, allocations: 112.6 kB / 3.502 GB, free: 226.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001161/9.942, allocations: 347.7 kB / 3.502 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/9.942, allocations: 33.91 kB / 3.502 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/9.944, allocations: 403.9 kB / 3.502 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/9.944, allocations: 6.656 kB / 3.502 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/9.944, allocations: 0 / 3.502 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/9.944, allocations: 0 / 3.502 GB, free: 226.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/9.946, allocations: 0.9058 MB / 3.503 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/9.946, allocations: 2.219 kB / 3.503 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/9.947, allocations: 54.75 kB / 3.503 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/9.947, allocations: 3.438 kB / 3.503 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/9.947, allocations: 7.594 kB / 3.503 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/9.947, allocations: 1.438 kB / 3.503 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/9.947, allocations: 5.938 kB / 3.503 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/9.949, allocations: 0.7033 MB / 3.504 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/9.949, allocations: 134.6 kB / 3.504 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/9.949, allocations: 10.22 kB / 3.504 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/9.949, allocations: 25.77 kB / 3.504 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/9.95, allocations: 20.73 kB / 3.504 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/9.95, allocations: 8.125 kB / 3.504 GB, free: 225.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002777/9.95, allocations: 186.4 kB / 3.504 GB, free: 225.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.555e-06/9.95, allocations: 0 / 3.504 GB, free: 225.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001229/9.951, allocations: 216.7 kB / 3.505 GB, free: 225.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.005237/9.956, allocations: 3.341 MB / 3.508 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007575/9.957, allocations: 220.5 kB / 3.508 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/9.957, allocations: 1.312 kB / 3.508 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002978/9.958, allocations: 121.3 kB / 3.508 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/9.959, allocations: 119 kB / 3.508 GB, free: 223.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/9.961, allocations: 0.6562 MB / 3.509 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/9.961, allocations: 0.8375 MB / 3.51 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005288/9.962, allocations: 79.66 kB / 3.51 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/9.962, allocations: 138.3 kB / 3.51 GB, free: 222.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/9.962, allocations: 0 / 3.51 GB, free: 222.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09768/10.06, allocations: 19.69 MB / 3.529 GB, free: 222.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/10.06, allocations: 179.6 kB / 3.529 GB, free: 222.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/13.47, allocations: 0 / 3.529 GB, free: 222.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)