Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.656/1.656, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.829/1.829, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001565/0.001565, allocations: 68.95 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2799, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7499/1.03, allocations: 169.4 MB / 0.9488 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01013/1.04, allocations: 7.132 MB / 0.9558 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/1.041, allocations: 11.38 kB / 0.9558 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008155/1.042, allocations: 173.8 kB / 0.956 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/1.046, allocations: 1.268 MB / 0.9572 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/1.049, allocations: 0.6266 MB / 0.9578 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001217/1.05, allocations: 0.7571 MB / 0.9586 GB, free: 380 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005465/1.05, allocations: 287.4 kB / 0.9588 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/1.052, allocations: 0.5637 MB / 0.9594 GB, free: 268 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/1.053, allocations: 424.1 kB / 0.9598 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/1.053, allocations: 25.53 kB / 0.9598 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/1.056, allocations: 1.247 MB / 0.961 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/1.056, allocations: 112.7 kB / 0.9611 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/1.057, allocations: 178.1 kB / 0.9613 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/1.059, allocations: 0.8948 MB / 0.9622 GB, free: 60 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.059, allocations: 3.938 kB / 0.9622 GB, free: 56 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/1.059, allocations: 4 kB / 0.9622 GB, free: 52 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.059, allocations: 1.25 kB / 0.9622 GB, free: 52 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001203/1.06, allocations: 0.6956 MB / 0.9629 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.06, allocations: 9.781 kB / 0.9629 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.061, allocations: 128.2 kB / 0.963 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/1.062, allocations: 333.6 kB / 0.9633 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.372e-05/1.062, allocations: 52.64 kB / 0.9634 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/1.062, allocations: 28.94 kB / 0.9634 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/1.063, allocations: 370.6 kB / 0.9637 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/1.063, allocations: 1.031 kB / 0.9637 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/1.063, allocations: 9.688 kB / 0.9638 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/1.063, allocations: 6.312 kB / 0.9638 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/1.063, allocations: 277.8 kB / 0.964 GB, free: 15.15 MB / 0.7325 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.001918/1.065, allocations: 1.504 MB / 0.9655 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/1.066, allocations: 192.8 kB / 0.9657 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/1.066, allocations: 121.9 kB / 0.9658 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.067, allocations: 0.5065 MB / 0.9663 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.067, allocations: 31.66 kB / 0.9663 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/1.067, allocations: 0 / 0.9663 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001073/1.068, allocations: 355.9 kB / 0.9667 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/1.068, allocations: 58.83 kB / 0.9667 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/1.069, allocations: 314.8 kB / 0.967 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/1.069, allocations: 30.52 kB / 0.967 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/1.069, allocations: 186.5 kB / 0.9672 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/1.069, allocations: 53.12 kB / 0.9673 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/1.069, allocations: 46.25 kB / 0.9673 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.069, allocations: 336 kB / 0.9676 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/1.069, allocations: 88.05 kB / 0.9677 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/1.069, allocations: 153.1 kB / 0.9679 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/1.07, allocations: 236.4 kB / 0.9681 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.07, allocations: 3.938 kB / 0.9681 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006217/1.071, allocations: 282.9 kB / 0.9684 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.071, allocations: 5.594 kB / 0.9684 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.071, allocations: 1.188 kB / 0.9684 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.071, allocations: 4.25 kB / 0.9684 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/1.071, allocations: 43.77 kB / 0.9684 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.071, allocations: 4.094 kB / 0.9684 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/1.071, allocations: 32.52 kB / 0.9685 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/1.071, allocations: 10.8 kB / 0.9685 GB, free: 12.65 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001589/1.071, allocations: 159.4 kB / 0.9686 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.071, allocations: 26.12 kB / 0.9686 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007471/1.072, allocations: 326.5 kB / 0.9689 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.072, allocations: 1.531 kB / 0.969 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.072, allocations: 1.719 kB / 0.969 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.072, allocations: 6.578 kB / 0.969 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/1.074, allocations: 0.7972 MB / 0.9697 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.074, allocations: 1.125 kB / 0.9697 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/1.074, allocations: 40.77 kB / 0.9698 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.074, allocations: 3.375 kB / 0.9698 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/1.074, allocations: 9.375 kB / 0.9698 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.074, allocations: 3.656 kB / 0.9698 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.074, allocations: 2.453 kB / 0.9698 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/1.075, allocations: 402.4 kB / 0.9702 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/1.075, allocations: 135.2 kB / 0.9703 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/1.075, allocations: 12.12 kB / 0.9703 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/1.075, allocations: 14.23 kB / 0.9703 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/1.075, allocations: 20.67 kB / 0.9704 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/1.075, allocations: 14.16 kB / 0.9704 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002722/1.075, allocations: 226.5 kB / 0.9706 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.383e-06/1.075, allocations: 0 / 0.9706 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007598/1.076, allocations: 126.6 kB / 0.9707 GB, free: 11.63 MB / 0.7325 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 (16): * Single equations (assignments): 16 * 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.0007323/1.077, allocations: 230.2 kB / 0.9709 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005502/1.077, allocations: 223.3 kB / 0.9711 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.077, allocations: 1.625 kB / 0.9711 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/1.078, allocations: 119.7 kB / 0.9713 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009278/1.079, allocations: 167.8 kB / 0.9714 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/1.08, allocations: 0.6089 MB / 0.972 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/1.08, allocations: 0.7853 MB / 0.9728 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003442/1.081, allocations: 88.41 kB / 0.9729 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.411e-05/1.081, allocations: 29.88 kB / 0.9729 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/1.081, allocations: 0 / 0.9729 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.01497/1.096, allocations: 7.283 MB / 0.98 GB, free: 7.41 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)