Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001304/0.001304, allocations: 188.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008991/0.0008993, allocations: 87.42 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.549e-05, allocations: 4 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7473, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.215/5.963, allocations: 2.062 GB / 3.036 GB, free: 67.34 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/5.963, allocations: 84.64 kB / 3.036 GB, free: 67.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.298/7.261, allocations: 294.1 MB / 3.323 GB, free: 155.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.734e-06/7.261, allocations: 0 / 3.323 GB, free: 155.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.423e-05/7.261, allocations: 11.98 kB / 3.323 GB, free: 155 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001558/7.263, allocations: 0.6542 MB / 3.324 GB, free: 154.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/7.263, allocations: 11.97 kB / 3.324 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004923/7.264, allocations: 55.59 kB / 3.324 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/7.264, allocations: 322.5 kB / 3.324 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/7.264, allocations: 12 kB / 3.324 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/7.264, allocations: 19.94 kB / 3.324 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003398/7.265, allocations: 141.1 kB / 3.324 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/7.265, allocations: 254.6 kB / 3.324 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/7.265, allocations: 0 / 3.324 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/7.265, allocations: 8 kB / 3.324 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/7.265, allocations: 4 kB / 3.324 GB, free: 153.5 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.001464/7.267, allocations: 1.448 MB / 3.326 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/7.267, allocations: 86.55 kB / 3.326 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.471e-05/7.267, allocations: 68.84 kB / 3.326 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004984/7.267, allocations: 307.2 kB / 3.326 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/7.267, allocations: 38.5 kB / 3.326 GB, free: 151.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/7.267, allocations: 0 / 3.326 GB, free: 151.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0006596/7.268, allocations: 191.4 kB / 3.327 GB, free: 151.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/7.268, allocations: 55.41 kB / 3.327 GB, free: 151.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/7.268, allocations: 190.1 kB / 3.327 GB, free: 150.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/7.268, allocations: 25.7 kB / 3.327 GB, free: 150.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/7.268, allocations: 192 kB / 3.327 GB, free: 150.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/7.268, allocations: 43.36 kB / 3.327 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/7.268, allocations: 0 / 3.327 GB, free: 150.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001043/7.269, allocations: 330.8 kB / 3.327 GB, free: 150.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/7.269, allocations: 43.98 kB / 3.327 GB, free: 150.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.571e-05/7.269, allocations: 104 kB / 3.328 GB, free: 150.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/7.269, allocations: 79.94 kB / 3.328 GB, free: 150 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/7.269, allocations: 0 / 3.328 GB, free: 150 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003138/7.269, allocations: 201.1 kB / 3.328 GB, free: 149.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/7.269, allocations: 4 kB / 3.328 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/7.269, allocations: 3.984 kB / 3.328 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/7.269, allocations: 4 kB / 3.328 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/7.27, allocations: 31.98 kB / 3.328 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/7.27, allocations: 8.156 kB / 3.328 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/7.27, allocations: 23.83 kB / 3.328 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/7.27, allocations: 15.98 kB / 3.328 GB, free: 149.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.62e-05/7.27, allocations: 112.9 kB / 3.328 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000287/7.27, allocations: 169.6 kB / 3.328 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/7.27, allocations: 19.81 kB / 3.328 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/7.271, allocations: 195.5 kB / 3.328 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/7.271, allocations: 0 / 3.328 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/7.271, allocations: 3.938 kB / 3.328 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/7.271, allocations: 3.984 kB / 3.328 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/7.271, allocations: 0.6254 MB / 3.329 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/7.271, allocations: 0 / 3.329 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/7.272, allocations: 27.98 kB / 3.329 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/7.272, allocations: 4 kB / 3.329 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/7.272, allocations: 7.953 kB / 3.329 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/7.272, allocations: 4.203 kB / 3.329 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/7.272, allocations: 11.94 kB / 3.329 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/7.272, allocations: 395.6 kB / 3.329 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/7.272, allocations: 112.9 kB / 3.329 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/7.272, allocations: 11.98 kB / 3.33 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/7.272, allocations: 19.89 kB / 3.33 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/7.272, allocations: 15.92 kB / 3.33 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/7.272, allocations: 8 kB / 3.33 GB, free: 147.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001336/7.273, allocations: 146 kB / 3.33 GB, free: 147.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/7.273, allocations: 4 kB / 3.33 GB, free: 147.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000702/7.273, allocations: 151.8 kB / 3.33 GB, free: 147.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.002665/7.276, allocations: 2.648 MB / 3.332 GB, free: 144.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000292/7.276, allocations: 120.1 kB / 3.333 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/7.276, allocations: 0 / 3.333 GB, free: 144.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/7.276, allocations: 63.91 kB / 3.333 GB, free: 144.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/7.277, allocations: 91.92 kB / 3.333 GB, free: 144.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/7.278, allocations: 428.4 kB / 3.333 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/7.278, allocations: 0.7867 MB / 3.334 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002003/7.279, allocations: 50.16 kB / 3.334 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/7.279, allocations: 99.33 kB / 3.334 GB, free: 143.1 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/7.279, allocations: 0 / 3.334 GB, free: 143.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/7.32, allocations: 14.71 MB / 3.348 GB, free: 128.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/7.32, allocations: 173.1 kB / 3.349 GB, free: 128.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/9.792, allocations: 0 / 3.349 GB, free: 128.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)