Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.0008078/0.0008078, 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.0008063/0.0008063, allocations: 169.9 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.882/0.882, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001424/0.001424, allocations: 233.3 kB / 259.4 MB, free: 13.03 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.6701/0.6701, allocations: 138.4 MB / 454.3 MB, free: 1.68 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.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 1.531 kB / 0.6463 GB, free: 28.88 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.691e-05, allocations: 2.281 kB / 0.6463 GB, free: 28.88 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1201/0.1201, allocations: 160.5 MB / 0.8031 GB, free: 480 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003771/0.1239, allocations: 4.15 MB / 0.8071 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003395/0.1242, allocations: 27.75 kB / 0.8071 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0005307/0.1248, allocations: 262 kB / 0.8074 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.1262, allocations: 0.7808 MB / 0.8082 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.1285, allocations: 1.608 MB / 0.8097 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1295, allocations: 1.269 MB / 0.811 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.1299, allocations: 361.9 kB / 0.8113 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008423/0.1308, allocations: 0.7556 MB / 0.812 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.1311, allocations: 358.9 kB / 0.8124 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.1312, allocations: 44 kB / 0.8124 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.1327, allocations: 1.289 MB / 0.8137 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1328, allocations: 199.3 kB / 0.8139 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.133, allocations: 211.5 kB / 0.8141 GB, free: 5.148 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1345, allocations: 1.324 MB / 0.8154 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1345, allocations: 0 / 0.8154 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1345, allocations: 0 / 0.8154 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.128e-06/0.1345, allocations: 0 / 0.8154 GB, free: 3.82 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001102/0.1356, allocations: 0.9643 MB / 0.8163 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1356, allocations: 12.69 kB / 0.8163 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/0.1357, allocations: 82.52 kB / 0.8164 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.1367, allocations: 291.2 kB / 0.8167 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.1372, allocations: 398.6 kB / 0.8171 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1372, allocations: 36.98 kB / 0.8171 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.1373, allocations: 43.95 kB / 0.8171 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.1379, allocations: 0.5468 MB / 0.8177 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1379, allocations: 0 / 0.8177 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.1379, allocations: 19.98 kB / 0.8177 GB, free: 1.328 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1379, allocations: 12 kB / 0.8177 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005942/0.1385, allocations: 459.5 kB / 0.8181 GB, free: 0.8672 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.001463/0.14, allocations: 1.779 MB / 0.8199 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.1405, allocations: 390.3 kB / 0.8203 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.1408, allocations: 216.7 kB / 0.8205 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.1411, allocations: 87.91 kB / 0.8205 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003661/0.1414, allocations: 300.7 kB / 0.8208 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.1414, allocations: 0 / 0.8208 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.0009935/0.1424, allocations: 0.6884 MB / 0.8215 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1425, allocations: 59.16 kB / 0.8216 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.143, allocations: 0.4941 MB / 0.822 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.143, allocations: 37.7 kB / 0.8221 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.1431, allocations: 260.5 kB / 0.8223 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.1432, allocations: 126.9 kB / 0.8224 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-05/0.1433, allocations: 94.12 kB / 0.8225 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.1434, allocations: 366.8 kB / 0.8229 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002887/0.1437, allocations: 252.2 kB / 0.8231 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.144, allocations: 0.4921 MB / 0.8236 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.1446, allocations: 0.5493 MB / 0.8241 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1446, allocations: 4 kB / 0.8241 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007274/0.1453, allocations: 0.7142 MB / 0.8248 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.1454, allocations: 59.41 kB / 0.8249 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1454, allocations: 8 kB / 0.8249 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1454, allocations: 7.984 kB / 0.8249 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1456, allocations: 95.88 kB / 0.825 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1456, allocations: 7.938 kB / 0.825 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.1459, allocations: 83.83 kB / 0.8251 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.1459, allocations: 20 kB / 0.8251 GB, free: 9.387 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001478/0.146, allocations: 186.4 kB / 0.8253 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.1461, allocations: 55.61 kB / 0.8253 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.1467, allocations: 0.5422 MB / 0.8259 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1467, allocations: 7.984 kB / 0.8259 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1467, allocations: 0 / 0.8259 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1468, allocations: 4 kB / 0.8259 GB, free: 8.574 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.148, allocations: 1.271 MB / 0.8271 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.148, allocations: 4 kB / 0.8271 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.1482, allocations: 76.33 kB / 0.8272 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1482, allocations: 4 kB / 0.8272 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1482, allocations: 19.92 kB / 0.8272 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.1482, allocations: 4 kB / 0.8272 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1482, allocations: 7.938 kB / 0.8272 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009508/0.1492, allocations: 0.9407 MB / 0.8282 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1493, allocations: 91.56 kB / 0.8282 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.1494, allocations: 19.94 kB / 0.8283 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1496, allocations: 35.95 kB / 0.8283 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.354e-05/0.1497, allocations: 55.91 kB / 0.8284 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1497, allocations: 19.94 kB / 0.8284 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003736/0.15, allocations: 346.8 kB / 0.8287 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.1e-08/0.15, allocations: 0 / 0.8287 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003412/0.1504, allocations: 155.8 kB / 0.8288 GB, free: 5.387 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001281/0.1517, allocations: 1.542 MB / 0.8304 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006722/0.1523, allocations: 0.6188 MB / 0.831 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1523, allocations: 3.938 kB / 0.831 GB, free: 3.117 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.1527, allocations: 273.2 kB / 0.8312 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.1535, allocations: 295.7 kB / 0.8315 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.158, allocations: 5.191 MB / 0.8366 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.1581, allocations: 270.2 kB / 0.8368 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.1584, allocations: 128.7 kB / 0.837 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.1586, allocations: 176.4 kB / 0.8371 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/0.1586, allocations: 0 / 0.8371 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.1846, allocations: 17.74 MB / 0.8544 GB, free: 11.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.951/7.135, allocations: 6.688 kB / 0.8545 GB, free: 11.19 MB / 0.698 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb_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_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.227584853768349] Failed to read output from testmodel.py, exit status != 0: 7.225091650150716 7.493624623 7.356278747 Calling exit ...