Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.008023/0.008023, allocations: 101.7 kB / 15.73 MB, free: 5.492 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.001901/0.001901, allocations: 188.4 kB / 16.67 MB, free: 5.422 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.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.001647/0.001647, allocations: 67.91 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7024, allocations: 104.7 MB / 0.8281 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1802/0.8827, allocations: 169.6 MB / 0.9937 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008654/0.8914, allocations: 7.208 MB / 1.001 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005494/0.892, allocations: 11.94 kB / 1.001 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005939/0.8926, allocations: 166.7 kB / 1.001 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004733/0.8974, allocations: 1.311 MB / 1.002 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.8995, allocations: 0.6451 MB / 1.003 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.9005, allocations: 0.7875 MB / 1.004 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.901, allocations: 303.2 kB / 1.004 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.9022, allocations: 0.5916 MB / 1.004 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008106/0.903, allocations: 438.5 kB / 1.005 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.9031, allocations: 28 kB / 1.005 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.9055, allocations: 1.255 MB / 1.006 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.9057, allocations: 119.7 kB / 1.006 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.906, allocations: 195.1 kB / 1.006 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.9084, allocations: 0.9335 MB / 1.007 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9084, allocations: 0 / 1.007 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9084, allocations: 0 / 1.007 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.9085, allocations: 0 / 1.007 GB, free: 10.38 MB / 0.8106 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.001186/0.9096, allocations: 0.7012 MB / 1.008 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.9097, allocations: 8.031 kB / 1.008 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.9107, allocations: 131.4 kB / 1.008 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.9114, allocations: 345.7 kB / 1.008 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.9114, allocations: 50.27 kB / 1.008 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.9115, allocations: 32 kB / 1.009 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.9121, allocations: 324.8 kB / 1.009 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.9121, allocations: 0 / 1.009 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.9122, allocations: 12 kB / 1.009 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.9122, allocations: 8 kB / 1.009 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.9127, allocations: 294 kB / 1.009 GB, free: 8.402 MB / 0.8106 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.00168/0.9144, allocations: 1.098 MB / 1.01 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.915, allocations: 274.5 kB / 1.01 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.9153, allocations: 140.8 kB / 1.011 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009667/0.9163, allocations: 0.5052 MB / 1.011 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.9163, allocations: 38.56 kB / 1.011 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/0.9163, allocations: 0 / 1.011 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.001101/0.9174, allocations: 421 kB / 1.012 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.9175, allocations: 55.41 kB / 1.012 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.9178, allocations: 308.5 kB / 1.012 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.9178, allocations: 29.7 kB / 1.012 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.9179, allocations: 172.3 kB / 1.012 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.918, allocations: 66.95 kB / 1.012 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/0.9181, allocations: 57.69 kB / 1.012 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9183, allocations: 342.8 kB / 1.013 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.9185, allocations: 103.9 kB / 1.013 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.9187, allocations: 134.5 kB / 1.013 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.9192, allocations: 261.5 kB / 1.013 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9192, allocations: 0 / 1.013 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000624/0.9199, allocations: 313 kB / 1.013 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.9199, allocations: 8 kB / 1.013 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.9199, allocations: 0 / 1.013 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.9199, allocations: 0 / 1.013 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.9202, allocations: 59.97 kB / 1.013 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.9202, allocations: 7.938 kB / 1.013 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.9204, allocations: 31.67 kB / 1.013 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.9205, allocations: 8 kB / 1.013 GB, free: 3.742 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001588/0.9206, allocations: 149.8 kB / 1.014 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.9207, allocations: 31.62 kB / 1.014 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007869/0.9215, allocations: 375.6 kB / 1.014 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.9215, allocations: 4 kB / 1.014 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9216, allocations: 0 / 1.014 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.9216, allocations: 3.984 kB / 1.014 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.923, allocations: 0.894 MB / 1.015 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.923, allocations: 0 / 1.015 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.9233, allocations: 47.91 kB / 1.015 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.9233, allocations: 0 / 1.015 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.9233, allocations: 12.22 kB / 1.015 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.9233, allocations: 7.984 kB / 1.015 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9233, allocations: 4 kB / 1.015 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.9243, allocations: 0.5945 MB / 1.015 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.9244, allocations: 144.7 kB / 1.016 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.9245, allocations: 0 / 1.016 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.9247, allocations: 19.98 kB / 1.016 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.9248, allocations: 35.91 kB / 1.016 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.9249, allocations: 8 kB / 1.016 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002148/0.9251, allocations: 227 kB / 1.016 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9251, allocations: 0 / 1.016 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005386/0.9256, allocations: 119.8 kB / 1.016 GB, free: 0.9414 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senS_flow.s_out,senS.s) * 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 (22): * Single equations (assignments): 22 * 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.0006966/0.9263, allocations: 236.2 kB / 1.016 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005906/0.9269, allocations: 251.8 kB / 1.016 GB, free: 468 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.927, allocations: 4 kB / 1.016 GB, free: 464 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.9273, allocations: 143.8 kB / 1.017 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.9281, allocations: 163.9 kB / 1.017 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.9296, allocations: 0.7419 MB / 1.017 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.93, allocations: 0.7873 MB / 1.018 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003034/0.9304, allocations: 94.78 kB / 1.018 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.9305, allocations: 39.42 kB / 1.018 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.9305, allocations: 0 / 1.018 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.01511/0.9456, allocations: 7.584 MB / 1.026 GB, free: 6.938 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)