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.0008097/0.0008129, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0008888/0.0008888, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.3 MB / 240 MB, free: 5.281 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.8561/0.8561, allocations: 143.2 MB / 434.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 16 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 83.41 MB / 0.5972 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3535/0.4817, allocations: 154 MB / 0.7476 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006836/0.4885, allocations: 6.648 MB / 0.7541 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.4888, allocations: 11.94 kB / 0.7541 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.4892, allocations: 123.1 kB / 0.7542 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.4908, allocations: 0.828 MB / 0.755 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.4919, allocations: 488.5 kB / 0.7555 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007586/0.4927, allocations: 0.8927 MB / 0.7564 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.493, allocations: 225.7 kB / 0.7566 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007512/0.4937, allocations: 474.1 kB / 0.7571 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.4944, allocations: 410.6 kB / 0.7574 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.4944, allocations: 16 kB / 0.7575 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.4955, allocations: 0.6275 MB / 0.7581 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.4956, allocations: 99.69 kB / 0.7582 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.4956, allocations: 89.52 kB / 0.7583 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.4962, allocations: 0.53 MB / 0.7588 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4962, allocations: 4 kB / 0.7588 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4962, allocations: 3.938 kB / 0.7588 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4962, allocations: 4 kB / 0.7588 GB, free: 7.168 MB / 0.5762 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.0007333/0.497, allocations: 0.6387 MB / 0.7594 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.497, allocations: 8.031 kB / 0.7594 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008408/0.4978, allocations: 127.4 kB / 0.7595 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.4982, allocations: 313.4 kB / 0.7598 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-05/0.4983, allocations: 54.27 kB / 0.7599 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.4983, allocations: 24 kB / 0.7599 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.4989, allocations: 382.1 kB / 0.7603 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4989, allocations: 0 / 0.7603 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.4989, allocations: 12 kB / 0.7603 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4989, allocations: 7.953 kB / 0.7603 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.4994, allocations: 282 kB / 0.7606 GB, free: 5.238 MB / 0.5762 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.00154/0.501, allocations: 1.504 MB / 0.762 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.5013, allocations: 194.6 kB / 0.7622 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.5015, allocations: 125.3 kB / 0.7623 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008139/0.5023, allocations: 0.5169 MB / 0.7628 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.5024, allocations: 34.56 kB / 0.7629 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.5024, allocations: 0 / 0.7629 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008008/0.5032, allocations: 370.4 kB / 0.7632 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.5032, allocations: 55.41 kB / 0.7633 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.5035, allocations: 316.5 kB / 0.7636 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.5035, allocations: 33.64 kB / 0.7636 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.5037, allocations: 184.1 kB / 0.7638 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.5037, allocations: 55.19 kB / 0.7638 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.5037, allocations: 8 kB / 0.7638 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.5038, allocations: 334.8 kB / 0.7642 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.504, allocations: 99.88 kB / 0.7643 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.5042, allocations: 146.7 kB / 0.7644 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.5044, allocations: 103.9 kB / 0.7645 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5044, allocations: 0 / 0.7645 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005125/0.5049, allocations: 298.9 kB / 0.7648 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.505, allocations: 8 kB / 0.7648 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.505, allocations: 3.938 kB / 0.7648 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.505, allocations: 4 kB / 0.7648 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.5052, allocations: 43.97 kB / 0.7648 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5052, allocations: 4.188 kB / 0.7648 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.5054, allocations: 36.31 kB / 0.7649 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.5054, allocations: 12 kB / 0.7649 GB, free: 0.4961 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.5056, allocations: 157.7 kB / 0.765 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.5057, allocations: 31.62 kB / 0.7651 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006445/0.5063, allocations: 328.3 kB / 0.7654 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5063, allocations: 7.938 kB / 0.7654 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.5064, allocations: 0 / 0.7654 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5064, allocations: 3.984 kB / 0.7654 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.5075, allocations: 0.8084 MB / 0.7662 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.5075, allocations: 4.484 kB / 0.7662 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.5076, allocations: 35.92 kB / 0.7662 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.5077, allocations: 4 kB / 0.7662 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.5077, allocations: 8.812 kB / 0.7662 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.5077, allocations: 7.953 kB / 0.7662 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5077, allocations: 8.156 kB / 0.7663 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.5082, allocations: 409 kB / 0.7666 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.5083, allocations: 136.6 kB / 0.7668 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.5084, allocations: 8 kB / 0.7668 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.5086, allocations: 28.47 kB / 0.7668 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.5087, allocations: 27.81 kB / 0.7668 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.5087, allocations: 8 kB / 0.7668 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001839/0.5089, allocations: 223 kB / 0.7671 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5089, allocations: 0 / 0.7671 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003943/0.5093, allocations: 115.8 kB / 0.7672 GB, free: 14.03 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003857/0.5097, allocations: 220 kB / 0.7674 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.5101, allocations: 228 kB / 0.7676 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5101, allocations: 0 / 0.7676 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.5103, allocations: 127.8 kB / 0.7677 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.5111, allocations: 151.7 kB / 0.7679 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000876/0.5119, allocations: 0.6973 MB / 0.7685 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.5123, allocations: 0.7914 MB / 0.7693 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.5125, allocations: 80.55 kB / 0.7694 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.5126, allocations: 31.44 kB / 0.7694 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.5126, allocations: 0 / 0.7694 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of Templates: time 0.009945/0.5226, allocations: 6.832 MB / 0.7761 GB, free: 4.953 MB / 0.5919 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)