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.001149/0.001149, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001115/0.001115, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.441/1.441, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.747/1.747, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001418/0.001418, allocations: 70.41 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2495, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6454/0.895, allocations: 169.4 MB / 0.9495 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008749/0.9038, allocations: 7.125 MB / 0.9564 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005328/0.9043, allocations: 19.81 kB / 0.9565 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005958/0.905, allocations: 174.7 kB / 0.9566 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.9083, allocations: 1.264 MB / 0.9579 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.9101, allocations: 0.6194 MB / 0.9585 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009449/0.9111, allocations: 0.7574 MB / 0.9592 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004441/0.9115, allocations: 298.7 kB / 0.9595 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.9127, allocations: 0.5682 MB / 0.9601 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007668/0.9134, allocations: 418.5 kB / 0.9605 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.9135, allocations: 28 kB / 0.9605 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.9157, allocations: 1.239 MB / 0.9617 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.9159, allocations: 115.7 kB / 0.9618 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.9161, allocations: 179.1 kB / 0.962 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.9175, allocations: 0.9039 MB / 0.9629 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.9175, allocations: 0 / 0.9629 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9175, allocations: 0 / 0.9629 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.9175, allocations: 0 / 0.9629 GB, free: 3.422 MB / 0.7481 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.001061/0.9186, allocations: 0.6933 MB / 0.9635 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.9186, allocations: 8.031 kB / 0.9635 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009787/0.9196, allocations: 127.4 kB / 0.9637 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.92, allocations: 333.1 kB / 0.964 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.9201, allocations: 50.27 kB / 0.964 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.9202, allocations: 28 kB / 0.9641 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.9208, allocations: 370.2 kB / 0.9644 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.9209, allocations: 0 / 0.9644 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.9209, allocations: 16 kB / 0.9644 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.9209, allocations: 4 kB / 0.9644 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005637/0.9215, allocations: 274 kB / 0.9647 GB, free: 1.434 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.00221/0.9237, allocations: 1.509 MB / 0.9662 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.9241, allocations: 199 kB / 0.9663 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.9244, allocations: 118.2 kB / 0.9665 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.9255, allocations: 0.5014 MB / 0.9669 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.9255, allocations: 34.56 kB / 0.967 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 5.109e-06/0.9255, allocations: 3.984 kB / 0.967 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.0009569/0.9265, allocations: 362.7 kB / 0.9673 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.9265, allocations: 55.41 kB / 0.9674 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.9269, allocations: 312.5 kB / 0.9677 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.9269, allocations: 29.7 kB / 0.9677 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.9271, allocations: 187.9 kB / 0.9679 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.9271, allocations: 51.3 kB / 0.9679 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.9272, allocations: 45.7 kB / 0.968 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9273, allocations: 338.8 kB / 0.9683 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.9276, allocations: 87.94 kB / 0.9684 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.9278, allocations: 141.9 kB / 0.9685 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.9282, allocations: 235.7 kB / 0.9688 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.9282, allocations: 3.938 kB / 0.9688 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005788/0.9288, allocations: 285 kB / 0.969 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.9289, allocations: 8.781 kB / 0.969 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.9289, allocations: 0 / 0.969 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.9289, allocations: 4 kB / 0.969 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.9291, allocations: 43.91 kB / 0.9691 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.9291, allocations: 0 / 0.9691 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.9293, allocations: 37.48 kB / 0.9691 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.9294, allocations: 16 kB / 0.9691 GB, free: 12.54 MB / 0.7637 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.000157/0.9296, allocations: 153.8 kB / 0.9693 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.9297, allocations: 31.62 kB / 0.9693 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.9304, allocations: 310.2 kB / 0.9696 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.9304, allocations: 8 kB / 0.9696 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9304, allocations: 0 / 0.9696 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.9304, allocations: 0 / 0.9696 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.9317, allocations: 0.8119 MB / 0.9704 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.9317, allocations: 4 kB / 0.9704 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.9319, allocations: 27.98 kB / 0.9704 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.9319, allocations: 7.938 kB / 0.9704 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.9319, allocations: 15.92 kB / 0.9705 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/0.9319, allocations: 7.938 kB / 0.9705 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.932, allocations: 0 / 0.9705 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.9326, allocations: 401.9 kB / 0.9708 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.9327, allocations: 128.7 kB / 0.971 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.9328, allocations: 14.11 kB / 0.971 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.933, allocations: 15.98 kB / 0.971 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.9331, allocations: 15.98 kB / 0.971 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.9331, allocations: 8 kB / 0.971 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002174/0.9334, allocations: 231 kB / 0.9712 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9334, allocations: 0 / 0.9712 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005325/0.9339, allocations: 123.8 kB / 0.9714 GB, free: 10.11 MB / 0.7637 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.0005807/0.9345, allocations: 229.5 kB / 0.9716 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005488/0.9351, allocations: 235.9 kB / 0.9718 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9351, allocations: 0 / 0.9718 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.9353, allocations: 115.8 kB / 0.9719 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/0.9362, allocations: 161.1 kB / 0.9721 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.9373, allocations: 0.632 MB / 0.9727 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.9377, allocations: 0.7834 MB / 0.9735 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.9378, allocations: 31.44 kB / 0.9735 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of SimCode: time 2.8e-07/0.9378, allocations: 4 kB / 0.9735 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of Templates: time 0.009768/0.9476, allocations: 6.255 MB / 0.9796 GB, free: 1.762 MB / 0.7637 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)