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.001239/0.001239, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.001242/0.001242, allocations: 212 kB / 19.43 MB, free: 3.637 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.378/1.378, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 283.9 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.175/1.175, allocations: 180.9 MB / 0.5333 GB, free: 13.86 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: NcDataReader2 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: BuildingSystems 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.002655/0.002655, allocations: 108.4 kB / 0.7343 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1562, allocations: 95.35 MB / 0.8274 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5689/0.7251, allocations: 185.3 MB / 1.008 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005473/0.7306, allocations: 4.472 MB / 1.013 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006684/0.7312, allocations: 31.22 kB / 1.013 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.7318, allocations: 252.3 kB / 1.013 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.7335, allocations: 0.7932 MB / 1.014 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.7366, allocations: 1.547 MB / 1.015 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.7379, allocations: 1.254 MB / 1.016 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004725/0.7384, allocations: 391.6 kB / 1.017 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.7392, allocations: 0.5981 MB / 1.017 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.7397, allocations: 434.5 kB / 1.018 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.664e-05/0.7397, allocations: 44.97 kB / 1.018 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.7419, allocations: 1.648 MB / 1.02 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.7421, allocations: 190.1 kB / 1.02 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002697/0.7423, allocations: 303.6 kB / 1.02 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.744, allocations: 1.319 MB / 1.021 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.744, allocations: 0 / 1.021 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.744, allocations: 0 / 1.021 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.744, allocations: 1.125 kB / 1.021 GB, free: 2.824 MB / 0.7169 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.001809/0.7458, allocations: 1.043 MB / 1.022 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7459, allocations: 9.719 kB / 1.022 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.44e-05/0.7459, allocations: 78.98 kB / 1.022 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.7479, allocations: 287.2 kB / 1.023 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.7485, allocations: 472.3 kB / 1.023 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.7486, allocations: 37.09 kB / 1.023 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/0.7486, allocations: 41.22 kB / 1.023 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008577/0.7495, allocations: 0.5482 MB / 1.024 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.7495, allocations: 6.562 kB / 1.024 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.7496, allocations: 13.19 kB / 1.024 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.7496, allocations: 11.34 kB / 1.024 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009146/0.7505, allocations: 463 kB / 1.024 GB, free: 17.67 MB / 0.7325 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.002274/0.7528, allocations: 2.125 MB / 1.026 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000827/0.7536, allocations: 390.2 kB / 1.027 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.754, allocations: 213 kB / 1.027 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/0.7546, allocations: 402.8 kB / 1.027 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.7552, allocations: 300.4 kB / 1.028 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 1.874e-06/0.7552, allocations: 1 kB / 1.028 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001569/0.7568, allocations: 0.6879 MB / 1.028 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.7568, allocations: 60.44 kB / 1.028 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.7573, allocations: 493.4 kB / 1.029 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.7573, allocations: 39.78 kB / 1.029 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.7575, allocations: 256.2 kB / 1.029 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.7576, allocations: 133.3 kB / 1.029 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.7577, allocations: 90.5 kB / 1.029 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.7579, allocations: 368.7 kB / 1.03 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.7584, allocations: 194.3 kB / 1.03 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.7589, allocations: 316.6 kB / 1.03 GB, free: 15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009036/0.7598, allocations: 0.5397 MB / 1.031 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7598, allocations: 3.938 kB / 1.031 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001168/0.7609, allocations: 0.6587 MB / 1.031 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.761, allocations: 59.91 kB / 1.031 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.761, allocations: 4.219 kB / 1.031 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.761, allocations: 3.406 kB / 1.031 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.7614, allocations: 103.4 kB / 1.031 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.7615, allocations: 7.719 kB / 1.031 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.762, allocations: 83.89 kB / 1.031 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.762, allocations: 22.34 kB / 1.031 GB, free: 14.6 MB / 0.7325 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.0002319/0.7623, allocations: 187.1 kB / 1.032 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.7623, allocations: 62.94 kB / 1.032 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.7635, allocations: 0.5385 MB / 1.032 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.7635, allocations: 2.906 kB / 1.032 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7635, allocations: 1.156 kB / 1.032 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7635, allocations: 5.047 kB / 1.032 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.7655, allocations: 1.345 MB / 1.034 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.7655, allocations: 7.016 kB / 1.034 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.7659, allocations: 79.67 kB / 1.034 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.7659, allocations: 8.688 kB / 1.034 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.7659, allocations: 16.09 kB / 1.034 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.766, allocations: 5.406 kB / 1.034 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.766, allocations: 8.656 kB / 1.034 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.7674, allocations: 0.9435 MB / 1.035 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.7676, allocations: 177.8 kB / 1.035 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.7677, allocations: 15.94 kB / 1.035 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.7681, allocations: 37.95 kB / 1.035 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.7682, allocations: 53.52 kB / 1.035 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.7682, allocations: 10.16 kB / 1.035 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003559/0.7686, allocations: 347.5 kB / 1.035 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7686, allocations: 2.531 kB / 1.035 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005733/0.7692, allocations: 151.4 kB / 1.035 GB, free: 13.43 MB / 0.7325 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.00203/0.7712, allocations: 1.561 MB / 1.037 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.7723, allocations: 0.5628 MB / 1.037 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7723, allocations: 0.7812 kB / 1.037 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.7729, allocations: 271 kB / 1.038 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.7741, allocations: 284 kB / 1.038 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.7808, allocations: 5.024 MB / 1.043 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.7812, allocations: 0.8641 MB / 1.044 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004211/0.7816, allocations: 131.8 kB / 1.044 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.7819, allocations: 180.6 kB / 1.044 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.7819, allocations: 0 / 1.044 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03898/0.8208, allocations: 15.95 MB / 1.06 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.63/9.451, allocations: 10.08 kB / 1.06 GB, free: 3.961 MB / 0.7325 GB " [Timeout remaining time 650] (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: 13.423975918907672] Failed to read output from testmodel.py, exit status != 0: 9.54070657119155 9.557681398 8.810402389 Calling exit ...