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.001143/0.001143, allocations: 105.4 kB / 16.4 MB, free: 6.5 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.001181/0.001181, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.16 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.7838/0.7838, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 65.38 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1292, allocations: 82.03 MB / 0.6763 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4582/0.5875, allocations: 169.5 MB / 0.8418 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007505/0.595, allocations: 7.161 MB / 0.8488 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005225/0.5956, allocations: 14.12 kB / 0.8488 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.5961, allocations: 168.5 kB / 0.849 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.599, allocations: 1.264 MB / 0.8502 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.6006, allocations: 0.6292 MB / 0.8508 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0007564/0.6013, allocations: 0.7599 MB / 0.8516 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.6017, allocations: 290.3 kB / 0.8519 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.6028, allocations: 0.5777 MB / 0.8524 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/0.6035, allocations: 422.9 kB / 0.8528 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.6036, allocations: 25.09 kB / 0.8529 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.6057, allocations: 1.25 MB / 0.8541 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.6058, allocations: 114.7 kB / 0.8542 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.606, allocations: 180 kB / 0.8544 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.6072, allocations: 0.92 MB / 0.8553 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6072, allocations: 0 / 0.8553 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6072, allocations: 8 kB / 0.8553 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.6072, allocations: 0 / 0.8553 GB, free: 6.652 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.0008375/0.6081, allocations: 0.6896 MB / 0.8559 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.6081, allocations: 12.02 kB / 0.856 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009222/0.609, allocations: 127.4 kB / 0.8561 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.6095, allocations: 353 kB / 0.8564 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.6095, allocations: 46.27 kB / 0.8565 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.6096, allocations: 28 kB / 0.8565 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.6102, allocations: 374.1 kB / 0.8568 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6102, allocations: 0 / 0.8568 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.6102, allocations: 12 kB / 0.8568 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6102, allocations: 4 kB / 0.8569 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/0.6107, allocations: 274 kB / 0.8571 GB, free: 4.641 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.001664/0.6124, allocations: 1.488 MB / 0.8586 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.6128, allocations: 195.4 kB / 0.8588 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.613, allocations: 116.8 kB / 0.8589 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008613/0.6138, allocations: 0.5053 MB / 0.8594 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.6139, allocations: 34.56 kB / 0.8594 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/0.6139, allocations: 7.938 kB / 0.8594 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0008615/0.6148, allocations: 349.8 kB / 0.8597 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.6148, allocations: 55.41 kB / 0.8598 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.6151, allocations: 316.5 kB / 0.8601 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.6151, allocations: 29.7 kB / 0.8601 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.6152, allocations: 188.1 kB / 0.8603 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.6153, allocations: 55.14 kB / 0.8603 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.6154, allocations: 45.7 kB / 0.8604 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6155, allocations: 334.8 kB / 0.8607 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.6157, allocations: 91.92 kB / 0.8608 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.6159, allocations: 143.8 kB / 0.8609 GB, free: 428 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.6163, allocations: 241.8 kB / 0.8612 GB, free: 164 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6163, allocations: 3.938 kB / 0.8612 GB, free: 160 kB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005442/0.6168, allocations: 281 kB / 0.8614 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.6169, allocations: 4 kB / 0.8614 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6169, allocations: 4.125 kB / 0.8614 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6169, allocations: 8 kB / 0.8615 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.6171, allocations: 43.97 kB / 0.8615 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.6171, allocations: 4 kB / 0.8615 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.6173, allocations: 35.61 kB / 0.8615 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.6174, allocations: 9.125 kB / 0.8615 GB, free: 15.77 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.0001386/0.6175, allocations: 158.4 kB / 0.8617 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.6176, allocations: 27.72 kB / 0.8617 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000634/0.6183, allocations: 318.3 kB / 0.862 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6183, allocations: 4 kB / 0.862 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6183, allocations: 0.5 kB / 0.862 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6183, allocations: 3.984 kB / 0.862 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.6195, allocations: 0.8004 MB / 0.8628 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.6196, allocations: 4 kB / 0.8628 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.6197, allocations: 39.55 kB / 0.8629 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6198, allocations: 8.219 kB / 0.8629 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.6198, allocations: 7.938 kB / 0.8629 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.6198, allocations: 4 kB / 0.8629 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6198, allocations: 3.938 kB / 0.8629 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.6204, allocations: 401 kB / 0.8633 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.6205, allocations: 132.6 kB / 0.8634 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.6206, allocations: 7.938 kB / 0.8634 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.6208, allocations: 15.98 kB / 0.8634 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.6209, allocations: 19.92 kB / 0.8634 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.6209, allocations: 15.98 kB / 0.8634 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001941/0.6211, allocations: 227.1 kB / 0.8637 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6211, allocations: 3.938 kB / 0.8637 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004403/0.6215, allocations: 111.8 kB / 0.8638 GB, free: 13.34 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.0005166/0.6221, allocations: 240 kB / 0.864 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005094/0.6226, allocations: 219.6 kB / 0.8642 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6226, allocations: 0 / 0.8642 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.6228, allocations: 124.5 kB / 0.8643 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000776/0.6236, allocations: 162.9 kB / 0.8645 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000994/0.6246, allocations: 0.6306 MB / 0.8651 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.6249, allocations: 0.7873 MB / 0.8659 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/0.625, allocations: 27.44 kB / 0.8659 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of SimCode: time 1.453e-06/0.625, allocations: 0 / 0.8659 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of Templates: time 0.007716/0.6327, allocations: 6.4 MB / 0.8721 GB, free: 4.742 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)