Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007411/0.0007411, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000811/0.000811, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9014/0.9014, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001516/0.001516, allocations: 236.1 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6693/0.6693, allocations: 138.4 MB / 454.3 MB, free: 1.598 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.36e-05, allocations: 4.25 kB / 0.6463 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1129/0.1129, allocations: 149.4 MB / 0.7923 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005159/0.1181, allocations: 6.526 MB / 0.7986 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002902/0.1183, allocations: 19.81 kB / 0.7986 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.1188, allocations: 186.6 kB / 0.7988 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.1208, allocations: 1.322 MB / 0.8001 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.122, allocations: 0.6998 MB / 0.8008 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006172/0.1226, allocations: 0.7561 MB / 0.8015 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.1229, allocations: 235.2 kB / 0.8018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008134/0.1237, allocations: 0.6929 MB / 0.8024 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005396/0.1243, allocations: 418.9 kB / 0.8028 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.1243, allocations: 28 kB / 0.8029 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1254, allocations: 1.063 MB / 0.8039 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.1255, allocations: 123.6 kB / 0.804 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.1256, allocations: 127.7 kB / 0.8041 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1266, allocations: 0.927 MB / 0.805 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1266, allocations: 0 / 0.805 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1266, allocations: 4 kB / 0.805 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.1266, allocations: 0 / 0.805 GB, free: 14.5 MB / 0.6511 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.0006851/0.1273, allocations: 0.6329 MB / 0.8057 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1273, allocations: 8.75 kB / 0.8057 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.1274, allocations: 58.55 kB / 0.8057 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.1279, allocations: 135.6 kB / 0.8059 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.1283, allocations: 284 kB / 0.8061 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.1283, allocations: 76 kB / 0.8062 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.1284, allocations: 24 kB / 0.8062 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.1288, allocations: 400.9 kB / 0.8066 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1288, allocations: 0 / 0.8066 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.1288, allocations: 16 kB / 0.8066 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1288, allocations: 4 kB / 0.8066 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.1291, allocations: 269.8 kB / 0.8069 GB, free: 12.52 MB / 0.6511 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.001079/0.1302, allocations: 1.132 MB / 0.808 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.1305, allocations: 186.6 kB / 0.8082 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1306, allocations: 112.7 kB / 0.8083 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003794/0.131, allocations: 139.8 kB / 0.8084 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.131, allocations: 34.56 kB / 0.8084 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.131, allocations: 0 / 0.8084 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005467/0.1316, allocations: 361.2 kB / 0.8088 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1316, allocations: 51.41 kB / 0.8088 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1318, allocations: 320.5 kB / 0.8091 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1318, allocations: 25.7 kB / 0.8092 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.1319, allocations: 192.3 kB / 0.8093 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.1319, allocations: 51.58 kB / 0.8094 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.132, allocations: 41.7 kB / 0.8094 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.1321, allocations: 338.8 kB / 0.8098 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1322, allocations: 87.92 kB / 0.8098 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.1324, allocations: 238 kB / 0.8101 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.1326, allocations: 236.7 kB / 0.8103 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1326, allocations: 3.938 kB / 0.8103 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003438/0.133, allocations: 293.1 kB / 0.8106 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.133, allocations: 4 kB / 0.8106 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.133, allocations: 0 / 0.8106 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.133, allocations: 4 kB / 0.8106 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1331, allocations: 39.97 kB / 0.8106 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1331, allocations: 8.125 kB / 0.8106 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.1332, allocations: 35.77 kB / 0.8107 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.1332, allocations: 12 kB / 0.8107 GB, free: 8.438 MB / 0.6511 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.0001078/0.1334, allocations: 146.5 kB / 0.8108 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.1334, allocations: 35.75 kB / 0.8109 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.1338, allocations: 313.3 kB / 0.8112 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.1338, allocations: 8 kB / 0.8112 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1339, allocations: 4 kB / 0.8112 GB, free: 7.926 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1339, allocations: 3.984 kB / 0.8112 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.1349, allocations: 0.7527 MB / 0.8119 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1349, allocations: 4 kB / 0.8119 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.936e-05/0.135, allocations: 32.2 kB / 0.8119 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.135, allocations: 4 kB / 0.8119 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.135, allocations: 8 kB / 0.8119 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.135, allocations: 7.984 kB / 0.812 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.135, allocations: 7.875 kB / 0.812 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.1353, allocations: 390.9 kB / 0.8123 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.1354, allocations: 59.72 kB / 0.8124 GB, free: 6.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1354, allocations: 4 kB / 0.8124 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1355, allocations: 19.98 kB / 0.8124 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.1356, allocations: 23.91 kB / 0.8124 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1356, allocations: 8 kB / 0.8124 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001401/0.1357, allocations: 227 kB / 0.8127 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.1357, allocations: 0 / 0.8127 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003467/0.1361, allocations: 123.7 kB / 0.8128 GB, free: 6.16 MB / 0.6511 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.0008372/0.1369, allocations: 1.061 MB / 0.8138 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.1372, allocations: 219.7 kB / 0.814 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1372, allocations: 0 / 0.814 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1374, allocations: 112.5 kB / 0.8141 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.1378, allocations: 163.5 kB / 0.8143 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.1404, allocations: 3.053 MB / 0.8173 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.1405, allocations: 177.1 kB / 0.8174 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.1407, allocations: 94.8 kB / 0.8175 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.1408, allocations: 100.5 kB / 0.8176 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of SimCode: time 5.91e-07/0.1408, allocations: 3.938 kB / 0.8176 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.1666, allocations: 11.84 MB / 0.8292 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/6.978, allocations: 8 kB / 0.8292 GB, free: 5.438 MB / 0.6667 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.812525964342058] Failed to read output from testmodel.py, exit status != 0: 7.064408519305289 7.073516692 6.944936124 Calling exit ...