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.001562/0.001562, allocations: 106.5 kB / 16.41 MB, free: 6.516 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.001538/0.001538, allocations: 183 kB / 17.34 MB, free: 5.734 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.8719/0.8719, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 64.48 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1577, allocations: 82.03 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5264/0.6842, allocations: 169.9 MB / 0.8423 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008549/0.6927, allocations: 7.166 MB / 0.8493 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004623/0.6932, allocations: 12.19 kB / 0.8493 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.6938, allocations: 178.9 kB / 0.8495 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.6969, allocations: 1.311 MB / 0.8507 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.6985, allocations: 0.6318 MB / 0.8514 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.000893/0.6994, allocations: 0.7551 MB / 0.8521 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.6998, allocations: 259.3 kB / 0.8523 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.7009, allocations: 0.5842 MB / 0.8529 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.7016, allocations: 432.5 kB / 0.8533 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.7017, allocations: 28.03 kB / 0.8534 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.7036, allocations: 1.245 MB / 0.8546 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.7037, allocations: 126.8 kB / 0.8547 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.7039, allocations: 181 kB / 0.8549 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.7053, allocations: 0.9181 MB / 0.8558 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7053, allocations: 8 kB / 0.8558 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7053, allocations: 0 / 0.8558 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.7053, allocations: 0 / 0.8558 GB, free: 6.148 MB / 0.6231 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.001093/0.7064, allocations: 0.7081 MB / 0.8565 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.7064, allocations: 8.031 kB / 0.8565 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009835/0.7074, allocations: 131.6 kB / 0.8566 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.7079, allocations: 349.3 kB / 0.8569 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.708, allocations: 46.27 kB / 0.857 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.7081, allocations: 32 kB / 0.857 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.7087, allocations: 366.2 kB / 0.8574 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.7087, allocations: 3.938 kB / 0.8574 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.7088, allocations: 12 kB / 0.8574 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.7088, allocations: 4 kB / 0.8574 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.7093, allocations: 278 kB / 0.8576 GB, free: 4.117 MB / 0.6231 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.001924/0.7113, allocations: 1.488 MB / 0.8591 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.7117, allocations: 190.5 kB / 0.8593 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.7119, allocations: 116.8 kB / 0.8594 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009452/0.7128, allocations: 0.4975 MB / 0.8599 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.7129, allocations: 38.55 kB / 0.8599 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.7129, allocations: 0 / 0.8599 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0009536/0.7138, allocations: 352.8 kB / 0.8602 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.7139, allocations: 63.34 kB / 0.8603 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.7142, allocations: 316.5 kB / 0.8606 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.7142, allocations: 25.7 kB / 0.8606 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.7144, allocations: 196.2 kB / 0.8608 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.7144, allocations: 51.59 kB / 0.8609 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.7145, allocations: 49.66 kB / 0.8609 GB, free: 496 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7147, allocations: 334.8 kB / 0.8612 GB, free: 152 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.7149, allocations: 95.86 kB / 0.8613 GB, free: 56 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.7152, allocations: 140.1 kB / 0.8615 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.7156, allocations: 245.1 kB / 0.8617 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.7156, allocations: 3.938 kB / 0.8617 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000594/0.7162, allocations: 281.2 kB / 0.862 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7162, allocations: 8 kB / 0.862 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7162, allocations: 0 / 0.862 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.7162, allocations: 4 kB / 0.862 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.7165, allocations: 43.91 kB / 0.862 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.7165, allocations: 4 kB / 0.862 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.7167, allocations: 33.14 kB / 0.8621 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.7167, allocations: 16.12 kB / 0.8621 GB, free: 15.24 MB / 0.6387 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.0001708/0.7169, allocations: 158.4 kB / 0.8622 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.717, allocations: 31.81 kB / 0.8622 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.7177, allocations: 307.2 kB / 0.8625 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.7177, allocations: 4 kB / 0.8625 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7177, allocations: 0.75 kB / 0.8625 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7177, allocations: 4 kB / 0.8625 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.719, allocations: 0.8083 MB / 0.8633 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.719, allocations: 4 kB / 0.8633 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.7192, allocations: 35.91 kB / 0.8634 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.7192, allocations: 4.875 kB / 0.8634 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.7192, allocations: 11.94 kB / 0.8634 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7192, allocations: 4 kB / 0.8634 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7192, allocations: 0 / 0.8634 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006283/0.7199, allocations: 401.3 kB / 0.8638 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.72, allocations: 136.9 kB / 0.8639 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.7201, allocations: 7.938 kB / 0.8639 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.7203, allocations: 17.11 kB / 0.8639 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.7203, allocations: 15.98 kB / 0.8639 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.7204, allocations: 11.98 kB / 0.864 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002285/0.7206, allocations: 227 kB / 0.8642 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7206, allocations: 0 / 0.8642 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004936/0.7211, allocations: 123.7 kB / 0.8643 GB, free: 12.82 MB / 0.6387 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.0005668/0.7217, allocations: 235.5 kB / 0.8645 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.7222, allocations: 223.8 kB / 0.8647 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7222, allocations: 4 kB / 0.8647 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.7224, allocations: 111.8 kB / 0.8648 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.7233, allocations: 170.2 kB / 0.865 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.7244, allocations: 0.6338 MB / 0.8656 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.7248, allocations: 0.7834 MB / 0.8664 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.7249, allocations: 31.44 kB / 0.8664 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of SimCode: time 4.01e-07/0.7249, allocations: 3.938 kB / 0.8664 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of Templates: time 0.009832/0.7347, allocations: 6.38 MB / 0.8727 GB, free: 4.23 MB / 0.6387 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)