Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.005636/0.005636, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.001409/0.001409, allocations: 187.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.951/0.951, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.91 kB / 0.5955 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3923, allocations: 82.04 MB / 0.6757 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1675/0.5598, allocations: 169.5 MB / 0.8412 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008098/0.568, allocations: 7.146 MB / 0.8481 GB, free: 5.355 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.5684, allocations: 15.94 kB / 0.8482 GB, free: 5.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.5689, allocations: 170.7 kB / 0.8483 GB, free: 5.172 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.5717, allocations: 1.264 MB / 0.8496 GB, free: 3.902 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.5731, allocations: 0.6335 MB / 0.8502 GB, free: 3.273 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007525/0.5738, allocations: 0.7641 MB / 0.8509 GB, free: 2.504 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.5743, allocations: 290.8 kB / 0.8512 GB, free: 2.219 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009281/0.5752, allocations: 0.5682 MB / 0.8518 GB, free: 1.648 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006227/0.5759, allocations: 428.4 kB / 0.8522 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.5759, allocations: 28 kB / 0.8522 GB, free: 1.203 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.5777, allocations: 1.239 MB / 0.8534 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.5778, allocations: 123.7 kB / 0.8535 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.578, allocations: 179.1 kB / 0.8537 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.5791, allocations: 0.9194 MB / 0.8546 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5792, allocations: 3.938 kB / 0.8546 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5792, allocations: 0 / 0.8546 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.5792, allocations: 0 / 0.8546 GB, free: 14.74 MB / 0.6856 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.0008931/0.5801, allocations: 0.6973 MB / 0.8553 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.5801, allocations: 12.03 kB / 0.8553 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/0.581, allocations: 123.4 kB / 0.8554 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.5815, allocations: 353 kB / 0.8557 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.5816, allocations: 46.27 kB / 0.8558 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.5816, allocations: 28 kB / 0.8558 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.5823, allocations: 374.1 kB / 0.8562 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5823, allocations: 0 / 0.8562 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.5823, allocations: 12 kB / 0.8562 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.5823, allocations: 8 kB / 0.8562 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.5828, allocations: 270 kB / 0.8564 GB, free: 12.73 MB / 0.6856 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.001668/0.5845, allocations: 1.485 MB / 0.8579 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.5849, allocations: 198.5 kB / 0.8581 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.5851, allocations: 116.8 kB / 0.8582 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008596/0.586, allocations: 0.5053 MB / 0.8587 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.586, allocations: 38.55 kB / 0.8587 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.586, allocations: 0 / 0.8587 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.00085/0.5869, allocations: 363.2 kB / 0.8591 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.5869, allocations: 51.41 kB / 0.8591 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.5872, allocations: 312.5 kB / 0.8594 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.5872, allocations: 29.7 kB / 0.8594 GB, free: 9.383 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.5874, allocations: 188 kB / 0.8596 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.5874, allocations: 55.2 kB / 0.8597 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.388e-05/0.5875, allocations: 45.7 kB / 0.8597 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5876, allocations: 338.8 kB / 0.86 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.5878, allocations: 87.92 kB / 0.8601 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.588, allocations: 144 kB / 0.8603 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.5884, allocations: 249.6 kB / 0.8605 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5884, allocations: 0 / 0.8605 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005435/0.589, allocations: 281 kB / 0.8608 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.589, allocations: 4 kB / 0.8608 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.589, allocations: 4 kB / 0.8608 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.589, allocations: 0 / 0.8608 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.5893, allocations: 48.11 kB / 0.8608 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5893, allocations: 7.984 kB / 0.8608 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.5895, allocations: 27.69 kB / 0.8609 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.5895, allocations: 15.98 kB / 0.8609 GB, free: 7.852 MB / 0.6856 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.0001385/0.5896, allocations: 153.7 kB / 0.861 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/0.5897, allocations: 27.72 kB / 0.861 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000651/0.5904, allocations: 320 kB / 0.8614 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5904, allocations: 4 kB / 0.8614 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5904, allocations: 0 / 0.8614 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5904, allocations: 3.938 kB / 0.8614 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.5916, allocations: 0.8044 MB / 0.8621 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5916, allocations: 0 / 0.8621 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.5918, allocations: 43.91 kB / 0.8622 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5918, allocations: 0 / 0.8622 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.5918, allocations: 7.938 kB / 0.8622 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.5918, allocations: 8.219 kB / 0.8622 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5918, allocations: 4 kB / 0.8622 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/0.5924, allocations: 403.9 kB / 0.8626 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.5925, allocations: 136.7 kB / 0.8627 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.5926, allocations: 7.938 kB / 0.8627 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.5928, allocations: 15.98 kB / 0.8627 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.5929, allocations: 11.98 kB / 0.8628 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.5929, allocations: 23.92 kB / 0.8628 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001882/0.5931, allocations: 219.1 kB / 0.863 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5931, allocations: 4 kB / 0.863 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000457/0.5935, allocations: 123.8 kB / 0.8631 GB, free: 5.406 MB / 0.6856 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.0004918/0.594, allocations: 229.5 kB / 0.8633 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.5945, allocations: 227.6 kB / 0.8635 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5945, allocations: 0 / 0.8635 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.5947, allocations: 116.6 kB / 0.8637 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.5955, allocations: 162.8 kB / 0.8638 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.5965, allocations: 0.5933 MB / 0.8644 GB, free: 4.051 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.5968, allocations: 0.7834 MB / 0.8652 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.597, allocations: 90.8 kB / 0.8652 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.5971, allocations: 35.42 kB / 0.8653 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of SimCode: time 2.11e-07/0.5971, allocations: 0 / 0.8653 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of Templates: time 0.3362/0.9333, allocations: 7.472 MB / 0.8726 GB, free: 188.4 MB / 0.6856 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)