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.001463/0.001463, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001643/0.001643, allocations: 185 kB / 17.34 MB, free: 5.629 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.2 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.8386/0.8386, allocations: 143.1 MB / 434.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.61 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1644, allocations: 82.03 MB / 0.6763 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5776/0.742, allocations: 169.5 MB / 0.8418 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008601/0.7507, allocations: 7.159 MB / 0.8488 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.7513, allocations: 18.03 kB / 0.8488 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.7519, allocations: 172.1 kB / 0.849 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003298/0.7552, allocations: 1.26 MB / 0.8502 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.7568, allocations: 0.6254 MB / 0.8508 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009613/0.7578, allocations: 0.7687 MB / 0.8516 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.7583, allocations: 292.1 kB / 0.8519 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.7595, allocations: 0.5819 MB / 0.8524 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/0.7603, allocations: 416.7 kB / 0.8528 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.7604, allocations: 29.56 kB / 0.8529 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.7625, allocations: 1.244 MB / 0.8541 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.7626, allocations: 114.9 kB / 0.8542 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.7628, allocations: 176.5 kB / 0.8544 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.7644, allocations: 0.9329 MB / 0.8553 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7645, allocations: 0 / 0.8553 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7645, allocations: 0 / 0.8553 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7645, allocations: 0 / 0.8553 GB, free: 6.637 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.001031/0.7655, allocations: 0.7012 MB / 0.856 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.7656, allocations: 8.031 kB / 0.856 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.7666, allocations: 127.4 kB / 0.8561 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.7672, allocations: 341.1 kB / 0.8564 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/0.7673, allocations: 54.27 kB / 0.8565 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.7673, allocations: 24 kB / 0.8565 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.768, allocations: 362.1 kB / 0.8568 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.768, allocations: 4 kB / 0.8568 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.7681, allocations: 12 kB / 0.8568 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.7681, allocations: 11.98 kB / 0.8569 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.7686, allocations: 266 kB / 0.8571 GB, free: 4.633 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.00184/0.7705, allocations: 1.492 MB / 0.8586 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.7709, allocations: 198.5 kB / 0.8588 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.7711, allocations: 116.8 kB / 0.8589 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009106/0.772, allocations: 0.5014 MB / 0.8594 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.7721, allocations: 38.5 kB / 0.8594 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.7721, allocations: 0 / 0.8594 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0009521/0.773, allocations: 359.3 kB / 0.8597 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.7731, allocations: 59.41 kB / 0.8598 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.7734, allocations: 312.5 kB / 0.8601 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.7735, allocations: 29.7 kB / 0.8601 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.7736, allocations: 180.1 kB / 0.8603 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.7736, allocations: 59.19 kB / 0.8603 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.7737, allocations: 45.69 kB / 0.8604 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7739, allocations: 342.8 kB / 0.8607 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.7741, allocations: 79.94 kB / 0.8608 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.7743, allocations: 152.3 kB / 0.8609 GB, free: 412 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.7747, allocations: 229.8 kB / 0.8612 GB, free: 160 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.7748, allocations: 7.938 kB / 0.8612 GB, free: 152 kB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006189/0.7754, allocations: 300.4 kB / 0.8615 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.7754, allocations: 11.98 kB / 0.8615 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7754, allocations: 0 / 0.8615 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.7755, allocations: 4 kB / 0.8615 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.7757, allocations: 35.98 kB / 0.8615 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.7757, allocations: 3.938 kB / 0.8615 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.7759, allocations: 37.77 kB / 0.8615 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.776, allocations: 12 kB / 0.8616 GB, free: 15.74 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.0001637/0.7761, allocations: 153.8 kB / 0.8617 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.7763, allocations: 27.62 kB / 0.8617 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006901/0.7769, allocations: 314.8 kB / 0.862 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.777, allocations: 0 / 0.862 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.777, allocations: 4 kB / 0.862 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.777, allocations: 4 kB / 0.862 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.7783, allocations: 0.8082 MB / 0.8628 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.7783, allocations: 4.875 kB / 0.8628 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.7785, allocations: 31.97 kB / 0.8629 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.7785, allocations: 4 kB / 0.8629 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.7785, allocations: 11.94 kB / 0.8629 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.7785, allocations: 4 kB / 0.8629 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.7785, allocations: 3.938 kB / 0.8629 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.7792, allocations: 401.6 kB / 0.8633 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.7793, allocations: 140.6 kB / 0.8634 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.7794, allocations: 11.94 kB / 0.8634 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.7796, allocations: 11.98 kB / 0.8634 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.7797, allocations: 15.98 kB / 0.8634 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.7797, allocations: 11.98 kB / 0.8634 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002201/0.7799, allocations: 223.1 kB / 0.8637 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7799, allocations: 4 kB / 0.8637 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005324/0.7805, allocations: 115.8 kB / 0.8638 GB, free: 13.32 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.0005568/0.7811, allocations: 241.8 kB / 0.864 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005115/0.7816, allocations: 223.7 kB / 0.8642 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7816, allocations: 0 / 0.8642 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.7818, allocations: 115.8 kB / 0.8643 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008665/0.7827, allocations: 170 kB / 0.8645 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.7838, allocations: 0.6266 MB / 0.8651 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.7842, allocations: 0.7834 MB / 0.8659 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.7843, allocations: 35.42 kB / 0.8659 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of SimCode: time 3.91e-07/0.7843, allocations: 0 / 0.8659 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of Templates: time 0.00949/0.7938, allocations: 6.353 MB / 0.8721 GB, free: 4.758 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)