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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 105.5 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 195.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 222.8 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.671/1.671, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 69.45 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2548, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7815/1.036, allocations: 165.3 MB / 0.9449 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007423/1.044, allocations: 6.486 MB / 0.9512 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008476/1.045, allocations: 14.09 kB / 0.9513 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/1.046, allocations: 141 kB / 0.9514 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/1.049, allocations: 0.7928 MB / 0.9522 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/1.05, allocations: 295.2 kB / 0.9524 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009945/1.051, allocations: 0.7184 MB / 0.9531 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004248/1.051, allocations: 262.5 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/1.052, allocations: 0.5444 MB / 0.9539 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/1.053, allocations: 290.8 kB / 0.9542 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/1.053, allocations: 22.59 kB / 0.9542 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008637/1.054, allocations: 349.2 kB / 0.9546 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/1.054, allocations: 109.7 kB / 0.9547 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/1.054, allocations: 165.5 kB / 0.9548 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005771/1.055, allocations: 347.6 kB / 0.9552 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.055, allocations: 0 / 0.9552 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.714e-06/1.055, allocations: 0 / 0.9552 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.336e-06/1.055, allocations: 0 / 0.9552 GB, free: 5.691 MB / 0.7325 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.001142/1.056, allocations: 0.6196 MB / 0.9558 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.056, allocations: 8.938 kB / 0.9558 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/1.056, allocations: 59.27 kB / 0.9558 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/1.057, allocations: 310.4 kB / 0.9561 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/1.057, allocations: 18.34 kB / 0.9561 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/1.057, allocations: 27.91 kB / 0.9562 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/1.057, allocations: 318.3 kB / 0.9565 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.057, allocations: 1.438 kB / 0.9565 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/1.058, allocations: 9.969 kB / 0.9565 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/1.058, allocations: 7.359 kB / 0.9565 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/1.058, allocations: 210.4 kB / 0.9567 GB, free: 20.87 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001601/1.06, allocations: 1.536 MB / 0.9582 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/1.06, allocations: 120.1 kB / 0.9583 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/1.06, allocations: 92.36 kB / 0.9584 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/1.061, allocations: 300.4 kB / 0.9587 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/1.061, allocations: 39.98 kB / 0.9587 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 3.747e-06/1.061, allocations: 1.125 kB / 0.9587 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008067/1.062, allocations: 275 kB / 0.959 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/1.062, allocations: 53.19 kB / 0.959 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/1.062, allocations: 310.1 kB / 0.9593 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/1.062, allocations: 30.27 kB / 0.9594 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/1.062, allocations: 182.6 kB / 0.9595 GB, free: 19 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/1.062, allocations: 41.84 kB / 0.9596 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/1.062, allocations: 36.72 kB / 0.9596 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.063, allocations: 347 kB / 0.9599 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/1.063, allocations: 62.28 kB / 0.96 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/1.063, allocations: 109.2 kB / 0.9601 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/1.063, allocations: 176 kB / 0.9603 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.063, allocations: 3.75 kB / 0.9603 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005099/1.064, allocations: 222.3 kB / 0.9605 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.064, allocations: 6.891 kB / 0.9605 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.064, allocations: 4.359 kB / 0.9605 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.064, allocations: 2.281 kB / 0.9605 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.064, allocations: 33.08 kB / 0.9605 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.064, allocations: 2.125 kB / 0.9605 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/1.064, allocations: 41.97 kB / 0.9606 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/1.064, allocations: 11.14 kB / 0.9606 GB, free: 18.47 MB / 0.7481 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.065, allocations: 149 kB / 0.9607 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/1.065, allocations: 28.52 kB / 0.9607 GB, free: 18.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/1.065, allocations: 203 kB / 0.9609 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.065, allocations: 1.688 kB / 0.9609 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.065, allocations: 5.734 kB / 0.9609 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.065, allocations: 0.5312 kB / 0.9609 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/1.066, allocations: 0.6889 MB / 0.9616 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.066, allocations: 5.281 kB / 0.9616 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/1.067, allocations: 26.08 kB / 0.9617 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/1.067, allocations: 3.781 kB / 0.9617 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/1.067, allocations: 2.625 kB / 0.9617 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/1.067, allocations: 8.938 kB / 0.9617 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.067, allocations: 2.406 kB / 0.9617 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/1.067, allocations: 339.1 kB / 0.962 GB, free: 17.72 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/1.067, allocations: 120.5 kB / 0.9621 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/1.067, allocations: 3.406 kB / 0.9621 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/1.067, allocations: 27.41 kB / 0.9621 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/1.068, allocations: 12.83 kB / 0.9621 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/1.068, allocations: 11.88 kB / 0.9622 GB, free: 17.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002659/1.068, allocations: 222.6 kB / 0.9624 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.068, allocations: 1.219 kB / 0.9624 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004424/1.068, allocations: 66.5 kB / 0.9624 GB, free: 17.52 MB / 0.7481 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004509/1.069, allocations: 163.9 kB / 0.9626 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004231/1.069, allocations: 161.8 kB / 0.9627 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.069, allocations: 0 / 0.9627 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/1.069, allocations: 86.92 kB / 0.9628 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/1.07, allocations: 159.2 kB / 0.963 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/1.071, allocations: 0.6706 MB / 0.9636 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/1.072, allocations: 0.786 MB / 0.9644 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/1.072, allocations: 24.56 kB / 0.9644 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/1.072, allocations: 0 / 0.9644 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of Templates: time 0.007987/1.08, allocations: 4.544 MB / 0.9689 GB, free: 15.83 MB / 0.7481 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)