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.001452/0.001452, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001633/0.001633, allocations: 198.3 kB / 17.3 MB, free: 5.801 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.323/1.323, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.001657/0.001657, allocations: 75.02 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2362, allocations: 114.5 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5483/0.7846, allocations: 169.4 MB / 0.9502 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.7951, allocations: 7.133 MB / 0.9572 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000627/0.7958, allocations: 15.88 kB / 0.9572 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.7964, allocations: 170.7 kB / 0.9574 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.7998, allocations: 1.253 MB / 0.9586 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.8015, allocations: 0.6361 MB / 0.9592 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009022/0.8024, allocations: 0.7602 MB / 0.96 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.8029, allocations: 290.8 kB / 0.9603 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.804, allocations: 0.5759 MB / 0.9608 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008604/0.8049, allocations: 410.6 kB / 0.9612 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.805, allocations: 24 kB / 0.9612 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.8074, allocations: 1.247 MB / 0.9624 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.8076, allocations: 119.6 kB / 0.9626 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.8078, allocations: 183.1 kB / 0.9627 GB, free: 3.797 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.8098, allocations: 0.9038 MB / 0.9636 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8098, allocations: 0 / 0.9636 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8098, allocations: 0.75 kB / 0.9636 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.8099, allocations: 0 / 0.9636 GB, free: 2.891 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.001304/0.8112, allocations: 0.6885 MB / 0.9643 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.8112, allocations: 12.03 kB / 0.9643 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.8123, allocations: 131.4 kB / 0.9644 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.8128, allocations: 329.1 kB / 0.9647 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/0.8129, allocations: 50.27 kB / 0.9648 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.813, allocations: 24 kB / 0.9648 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.8136, allocations: 376.2 kB / 0.9652 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.8137, allocations: 5.047 kB / 0.9652 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.8137, allocations: 15.94 kB / 0.9652 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.8137, allocations: 8 kB / 0.9652 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005946/0.8143, allocations: 274 kB / 0.9655 GB, free: 0.8945 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.002058/0.8164, allocations: 1.496 MB / 0.9669 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.8168, allocations: 190.6 kB / 0.9671 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.817, allocations: 116.8 kB / 0.9672 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.8182, allocations: 0.5014 MB / 0.9677 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.8182, allocations: 35.81 kB / 0.9677 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=15): time 2.595e-06/0.8182, allocations: 0 / 0.9677 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of matching and sorting (n=15): time 0.00104/0.8193, allocations: 365 kB / 0.9681 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.8193, allocations: 51.41 kB / 0.9681 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.8197, allocations: 312.5 kB / 0.9684 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.8197, allocations: 33.7 kB / 0.9685 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.8199, allocations: 188 kB / 0.9686 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.8199, allocations: 51.34 kB / 0.9687 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.82, allocations: 45.7 kB / 0.9687 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.8202, allocations: 338.8 kB / 0.9691 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.8204, allocations: 83.92 kB / 0.9691 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.8207, allocations: 141.9 kB / 0.9693 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.8211, allocations: 249.3 kB / 0.9695 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8211, allocations: 5.219 kB / 0.9695 GB, free: 12.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006528/0.8218, allocations: 281 kB / 0.9698 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.8218, allocations: 4 kB / 0.9698 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.8218, allocations: 4 kB / 0.9698 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8219, allocations: 0 / 0.9698 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.8221, allocations: 44.11 kB / 0.9698 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.8222, allocations: 11.98 kB / 0.9698 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.8224, allocations: 25.19 kB / 0.9699 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.8225, allocations: 19.98 kB / 0.9699 GB, free: 12.02 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.0001619/0.8226, allocations: 149.7 kB / 0.97 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.8228, allocations: 31.62 kB / 0.9701 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007344/0.8235, allocations: 314 kB / 0.9704 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.8235, allocations: 7.984 kB / 0.9704 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.8235, allocations: 5.953 kB / 0.9704 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.8235, allocations: 0 / 0.9704 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.825, allocations: 0.8088 MB / 0.9712 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.825, allocations: 0 / 0.9712 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.8252, allocations: 39.91 kB / 0.9712 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.8252, allocations: 5.25 kB / 0.9712 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.8252, allocations: 11.94 kB / 0.9712 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8252, allocations: 224 / 0.9712 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.8252, allocations: 8 kB / 0.9712 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.8259, allocations: 398 kB / 0.9716 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.8261, allocations: 132.7 kB / 0.9717 GB, free: 9.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.8262, allocations: 11.94 kB / 0.9717 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.8265, allocations: 11.98 kB / 0.9718 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.8266, allocations: 22.17 kB / 0.9718 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.8266, allocations: 18.3 kB / 0.9718 GB, free: 9.93 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002354/0.8269, allocations: 223.1 kB / 0.972 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8269, allocations: 0 / 0.972 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005506/0.8274, allocations: 123.8 kB / 0.9721 GB, free: 9.59 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.0006036/0.828, allocations: 226.7 kB / 0.9723 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.8286, allocations: 220.3 kB / 0.9726 GB, free: 9.152 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.8286, allocations: 4 kB / 0.9726 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.8288, allocations: 111.8 kB / 0.9727 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.8298, allocations: 173 kB / 0.9728 GB, free: 8.895 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.831, allocations: 0.5975 MB / 0.9734 GB, free: 8.254 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.8315, allocations: 0.7872 MB / 0.9742 GB, free: 7.438 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002953/0.8318, allocations: 85.16 kB / 0.9743 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.8319, allocations: 35.42 kB / 0.9743 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of SimCode: time 7.71e-07/0.8319, allocations: 0 / 0.9743 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of Templates: time 0.01375/0.8457, allocations: 7.285 MB / 0.9814 GB, free: 184 kB / 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)