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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 1.075/1.075, allocations: 143 MB / 433.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 59.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1532, allocations: 82.04 MB / 0.5944 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4461/0.5993, allocations: 169.5 MB / 0.7599 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00812/0.6075, allocations: 7.149 MB / 0.7669 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004709/0.608, allocations: 15.88 kB / 0.7669 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.6086, allocations: 166.7 kB / 0.767 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.6116, allocations: 1.26 MB / 0.7683 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.6132, allocations: 0.6378 MB / 0.7689 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008654/0.6141, allocations: 0.7563 MB / 0.7696 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.6145, allocations: 295.8 kB / 0.7699 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.6156, allocations: 0.5643 MB / 0.7705 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007059/0.6163, allocations: 426.5 kB / 0.7709 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.6164, allocations: 28 kB / 0.7709 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.6184, allocations: 1.235 MB / 0.7721 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.6185, allocations: 119.7 kB / 0.7722 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.6187, allocations: 175.2 kB / 0.7724 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.6202, allocations: 0.9155 MB / 0.7733 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6202, allocations: 0 / 0.7733 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6202, allocations: 0 / 0.7733 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.6202, allocations: 0 / 0.7733 GB, free: 6.047 MB / 0.5919 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.00114/0.6214, allocations: 0.6979 MB / 0.774 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.6214, allocations: 11.97 kB / 0.774 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/0.6215, allocations: 70.55 kB / 0.774 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.6225, allocations: 123.4 kB / 0.7742 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.623, allocations: 325.9 kB / 0.7745 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/0.6231, allocations: 54.25 kB / 0.7745 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.6231, allocations: 24 kB / 0.7746 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.6238, allocations: 374.1 kB / 0.7749 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6238, allocations: 0 / 0.7749 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.6238, allocations: 12 kB / 0.7749 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.6238, allocations: 8 kB / 0.7749 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.6243, allocations: 274 kB / 0.7752 GB, free: 3.977 MB / 0.5919 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.001854/0.6262, allocations: 1.513 MB / 0.7767 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.6266, allocations: 190.6 kB / 0.7768 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.6268, allocations: 112.8 kB / 0.777 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.6279, allocations: 0.513 MB / 0.7775 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.6279, allocations: 34.56 kB / 0.7775 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.6279, allocations: 0 / 0.7775 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009898/0.6289, allocations: 367.4 kB / 0.7778 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.6289, allocations: 51.41 kB / 0.7779 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.6293, allocations: 312.5 kB / 0.7782 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.6293, allocations: 29.7 kB / 0.7782 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.6294, allocations: 184.1 kB / 0.7784 GB, free: 436 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.6295, allocations: 47.3 kB / 0.7784 GB, free: 388 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.929e-05/0.6296, allocations: 49.7 kB / 0.7785 GB, free: 332 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6297, allocations: 342.8 kB / 0.7788 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.6299, allocations: 79.94 kB / 0.7789 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.6302, allocations: 154.7 kB / 0.779 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.6306, allocations: 233.8 kB / 0.7793 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6306, allocations: 4 kB / 0.7793 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005644/0.6312, allocations: 289 kB / 0.7795 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6312, allocations: 4 kB / 0.7795 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6312, allocations: 4 kB / 0.7795 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6312, allocations: 0 / 0.7795 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.6315, allocations: 43.97 kB / 0.7796 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.6315, allocations: 12.12 kB / 0.7796 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.6317, allocations: 27.67 kB / 0.7796 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.6317, allocations: 16.55 kB / 0.7796 GB, free: 15.09 MB / 0.6075 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.0001433/0.6319, allocations: 149.8 kB / 0.7798 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.632, allocations: 31.62 kB / 0.7798 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006831/0.6327, allocations: 314.3 kB / 0.7801 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6327, allocations: 4 kB / 0.7801 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.6327, allocations: 0 / 0.7801 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.6327, allocations: 0 / 0.7801 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.634, allocations: 0.8121 MB / 0.7809 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.634, allocations: 3.688 kB / 0.7809 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.6342, allocations: 39.91 kB / 0.7809 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6342, allocations: 0 / 0.7809 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.6342, allocations: 11.94 kB / 0.781 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6343, allocations: 12.16 kB / 0.781 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.6343, allocations: 4 kB / 0.781 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.6348, allocations: 393.8 kB / 0.7814 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.635, allocations: 136.7 kB / 0.7815 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.6351, allocations: 15.88 kB / 0.7815 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.6353, allocations: 11.98 kB / 0.7815 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.6354, allocations: 19.98 kB / 0.7815 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.6354, allocations: 8 kB / 0.7815 GB, free: 13 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000206/0.6356, allocations: 227 kB / 0.7818 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6356, allocations: 0 / 0.7818 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005096/0.6361, allocations: 123.8 kB / 0.7819 GB, free: 12.66 MB / 0.6075 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.001334/0.6375, allocations: 1.065 MB / 0.7829 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005143/0.638, allocations: 219.7 kB / 0.7831 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.638, allocations: 0 / 0.7831 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.6383, allocations: 116.4 kB / 0.7832 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008805/0.6391, allocations: 161.5 kB / 0.7834 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.6431, allocations: 3.073 MB / 0.7864 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.6434, allocations: 0.7872 MB / 0.7872 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000304/0.6437, allocations: 87.27 kB / 0.7872 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.6439, allocations: 103.4 kB / 0.7873 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.6439, allocations: 0 / 0.7873 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.6734, allocations: 10.5 MB / 0.7976 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/8.3, allocations: 16.33 kB / 0.7976 GB, free: 12.56 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)