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: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001041/0.001041, allocations: 184.3 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.527/1.527, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0009224/0.0009224, allocations: 93.53 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.697e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7436, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.979/5.723, allocations: 2.062 GB / 3.036 GB, free: 68.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/5.723, allocations: 83.95 kB / 3.036 GB, free: 68.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.209/6.932, allocations: 294.1 MB / 3.323 GB, free: 155.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.164e-06/6.932, allocations: 0 / 3.323 GB, free: 155.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.895e-05/6.932, allocations: 8 kB / 3.323 GB, free: 155.9 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.001122/6.933, allocations: 0.6463 MB / 3.324 GB, free: 155.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/6.933, allocations: 8.031 kB / 3.324 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/6.934, allocations: 59.5 kB / 3.324 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/6.934, allocations: 334.4 kB / 3.324 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/6.934, allocations: 8 kB / 3.324 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/6.934, allocations: 23.94 kB / 3.324 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002512/6.934, allocations: 141.1 kB / 3.324 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/6.935, allocations: 258.5 kB / 3.324 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/6.935, allocations: 3.984 kB / 3.324 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/6.935, allocations: 0 / 3.324 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/6.935, allocations: 12 kB / 3.324 GB, free: 154.3 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.001043/6.936, allocations: 1.441 MB / 3.326 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/6.936, allocations: 86.56 kB / 3.326 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/6.936, allocations: 77.06 kB / 3.326 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/6.936, allocations: 299.3 kB / 3.326 GB, free: 152.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/6.936, allocations: 38.56 kB / 3.326 GB, free: 152.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.113e-06/6.936, allocations: 0 / 3.326 GB, free: 152.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.000508/6.937, allocations: 197.2 kB / 3.326 GB, free: 152 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/6.937, allocations: 51.41 kB / 3.327 GB, free: 151.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/6.937, allocations: 186.1 kB / 3.327 GB, free: 151.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/6.937, allocations: 25.7 kB / 3.327 GB, free: 151.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/6.937, allocations: 196 kB / 3.327 GB, free: 151.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/6.937, allocations: 43.36 kB / 3.327 GB, free: 151.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/6.937, allocations: 0 / 3.327 GB, free: 151.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/6.937, allocations: 334.8 kB / 3.327 GB, free: 151.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/6.937, allocations: 39.98 kB / 3.327 GB, free: 151.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/6.937, allocations: 99.8 kB / 3.327 GB, free: 151 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/6.938, allocations: 87.86 kB / 3.327 GB, free: 150.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/6.938, allocations: 4 kB / 3.327 GB, free: 150.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000273/6.938, allocations: 195.7 kB / 3.328 GB, free: 150.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/6.938, allocations: 4 kB / 3.328 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/6.938, allocations: 4 kB / 3.328 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/6.938, allocations: 0 / 3.328 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/6.938, allocations: 39.92 kB / 3.328 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/6.938, allocations: 0 / 3.328 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/6.938, allocations: 35.97 kB / 3.328 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/6.938, allocations: 8 kB / 3.328 GB, free: 150.6 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 5.664e-05/6.938, allocations: 108.9 kB / 3.328 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/6.939, allocations: 23.81 kB / 3.328 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/6.939, allocations: 192.8 kB / 3.328 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/6.939, allocations: 4 kB / 3.328 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/6.939, allocations: 0 / 3.328 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/6.939, allocations: 3.984 kB / 3.328 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006695/6.94, allocations: 0.6138 MB / 3.329 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/6.94, allocations: 4 kB / 3.329 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/6.94, allocations: 31.92 kB / 3.329 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/6.94, allocations: 4 kB / 3.329 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/6.94, allocations: 0 / 3.329 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/6.94, allocations: 11.92 kB / 3.329 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/6.94, allocations: 0 / 3.329 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/6.94, allocations: 409.4 kB / 3.329 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/6.94, allocations: 108.8 kB / 3.329 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/6.94, allocations: 4 kB / 3.329 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/6.94, allocations: 31.86 kB / 3.329 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/6.94, allocations: 15.98 kB / 3.329 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/6.94, allocations: 4 kB / 3.329 GB, free: 148.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.494e-05/6.94, allocations: 150 kB / 3.329 GB, free: 148.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.941, allocations: 0 / 3.329 GB, free: 148.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000631/6.941, allocations: 147.8 kB / 3.33 GB, free: 148.6 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.001784/6.943, allocations: 1.345 MB / 3.331 GB, free: 147.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000209/6.943, allocations: 111.9 kB / 3.331 GB, free: 147.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/6.943, allocations: 0 / 3.331 GB, free: 147.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/6.943, allocations: 63.86 kB / 3.331 GB, free: 147 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/6.944, allocations: 89.78 kB / 3.331 GB, free: 147 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005248/6.944, allocations: 353.5 kB / 3.331 GB, free: 146.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/6.945, allocations: 0.7906 MB / 3.332 GB, free: 145.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001439/6.945, allocations: 50.11 kB / 3.332 GB, free: 145.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/6.945, allocations: 23.44 kB / 3.332 GB, free: 145.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/6.945, allocations: 0 / 3.332 GB, free: 145.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01384/6.959, allocations: 10.08 MB / 3.342 GB, free: 135.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)