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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 105.8 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 8.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8869/0.8869, allocations: 144.9 MB / 453.8 MB, free: 0.6641 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 74.06 kB / 0.6281 GB, free: 10.56 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1813, allocations: 87.81 MB / 0.7138 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5783/0.7597, allocations: 172.9 MB / 0.8827 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01024/0.7699, allocations: 7.201 MB / 0.8897 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004995/0.7704, allocations: 15.88 kB / 0.8897 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.7711, allocations: 182.6 kB / 0.8899 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.7746, allocations: 1.307 MB / 0.8912 GB, free: 10.59 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.7764, allocations: 0.6451 MB / 0.8918 GB, free: 9.953 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001098/0.7775, allocations: 0.7564 MB / 0.8926 GB, free: 9.195 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.7779, allocations: 246.7 kB / 0.8928 GB, free: 8.957 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.7791, allocations: 0.5955 MB / 0.8934 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/0.7799, allocations: 458.4 kB / 0.8938 GB, free: 7.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.78, allocations: 24 kB / 0.8938 GB, free: 7.887 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.7824, allocations: 1.337 MB / 0.8952 GB, free: 6.547 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.7825, allocations: 119.6 kB / 0.8953 GB, free: 6.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.7828, allocations: 179.1 kB / 0.8954 GB, free: 6.254 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.7844, allocations: 0.9302 MB / 0.8963 GB, free: 5.324 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7845, allocations: 8 kB / 0.8964 GB, free: 5.316 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7845, allocations: 0 / 0.8964 GB, free: 5.316 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.7845, allocations: 0 / 0.8964 GB, free: 5.316 MB / 0.67 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.001176/0.7856, allocations: 0.7081 MB / 0.897 GB, free: 4.555 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7857, allocations: 12.03 kB / 0.8971 GB, free: 4.543 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.7858, allocations: 58.55 kB / 0.8971 GB, free: 4.477 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.7868, allocations: 135.6 kB / 0.8972 GB, free: 4.348 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/0.7874, allocations: 349.3 kB / 0.8976 GB, free: 3.969 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.35e-05/0.7874, allocations: 46.27 kB / 0.8976 GB, free: 3.918 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.7875, allocations: 24 kB / 0.8976 GB, free: 3.895 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/0.7882, allocations: 370.2 kB / 0.898 GB, free: 3.512 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.7882, allocations: 7.922 kB / 0.898 GB, free: 3.504 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.7883, allocations: 8 kB / 0.898 GB, free: 3.496 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.7883, allocations: 11.98 kB / 0.898 GB, free: 3.484 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.7889, allocations: 274 kB / 0.8983 GB, free: 3.219 MB / 0.67 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.002194/0.7911, allocations: 1.492 MB / 0.8997 GB, free: 1.598 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.7915, allocations: 186.5 kB / 0.8999 GB, free: 1.406 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/0.7918, allocations: 108.8 kB / 0.9 GB, free: 1.297 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.7928, allocations: 0.5014 MB / 0.9005 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.7929, allocations: 38.56 kB / 0.9005 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.7929, allocations: 4 kB / 0.9005 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.001057/0.7939, allocations: 354.5 kB / 0.9009 GB, free: 308 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.794, allocations: 55.41 kB / 0.9009 GB, free: 240 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.7943, allocations: 316.5 kB / 0.9012 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.7944, allocations: 33.7 kB / 0.9013 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.7945, allocations: 188.2 kB / 0.9015 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.7946, allocations: 55.53 kB / 0.9015 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/0.7947, allocations: 41.7 kB / 0.9015 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7949, allocations: 338.8 kB / 0.9019 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.7951, allocations: 83.92 kB / 0.9019 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.7953, allocations: 145.9 kB / 0.9021 GB, free: 15 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.7958, allocations: 245.6 kB / 0.9023 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.7958, allocations: 7.938 kB / 0.9023 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000684/0.7965, allocations: 288.3 kB / 0.9026 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7965, allocations: 8 kB / 0.9026 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7965, allocations: 0 / 0.9026 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.7966, allocations: 4 kB / 0.9026 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.7968, allocations: 39.92 kB / 0.9027 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.7968, allocations: 7.984 kB / 0.9027 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.7971, allocations: 23.84 kB / 0.9027 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.7971, allocations: 15.98 kB / 0.9027 GB, free: 14.35 MB / 0.6856 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.0002391/0.7974, allocations: 161.7 kB / 0.9029 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.7975, allocations: 27.81 kB / 0.9029 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007877/0.7983, allocations: 316.6 kB / 0.9032 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.7983, allocations: 0 / 0.9032 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.7983, allocations: 0 / 0.9032 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.7983, allocations: 0 / 0.9032 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.7997, allocations: 0.8068 MB / 0.904 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.7997, allocations: 224 / 0.904 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.7999, allocations: 44.02 kB / 0.904 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.8, allocations: 11.92 kB / 0.904 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.8, allocations: 7.938 kB / 0.904 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.8, allocations: 0 / 0.904 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8, allocations: 4 kB / 0.904 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.8007, allocations: 405.1 kB / 0.9044 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.8008, allocations: 136.8 kB / 0.9046 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.8009, allocations: 11.94 kB / 0.9046 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.8011, allocations: 15.98 kB / 0.9046 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.8012, allocations: 15.98 kB / 0.9046 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.8012, allocations: 11.98 kB / 0.9046 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002625/0.8015, allocations: 227 kB / 0.9048 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8015, allocations: 0 / 0.9048 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006019/0.8021, allocations: 119.8 kB / 0.9049 GB, free: 11.91 MB / 0.6856 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.001412/0.8035, allocations: 1.069 MB / 0.906 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005779/0.8041, allocations: 210.4 kB / 0.9062 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8041, allocations: 384 / 0.9062 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.8043, allocations: 119.8 kB / 0.9063 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009108/0.8052, allocations: 152.1 kB / 0.9064 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.8096, allocations: 3.071 MB / 0.9094 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.8101, allocations: 0.7873 MB / 0.9102 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.8104, allocations: 86.86 kB / 0.9103 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.8105, allocations: 103.4 kB / 0.9104 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of SimCode: time 7.52e-07/0.8105, allocations: 0 / 0.9104 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.8481, allocations: 10.59 MB / 0.9207 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/9.278, allocations: 11.98 kB / 0.9207 GB, free: 11.69 MB / 0.7012 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.912490955000976] Failed to read output from testmodel.py, exit status != 0: 9.350990766994073 9.366030045 8.578372016 Calling exit ...