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.001531/0.001531, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002029/0.002029, allocations: 217.3 kB / 22.26 MB, free: 5.125 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.002392/0.002392, allocations: 286.9 kB / 312.7 MB, free: 2.82 MB / 238.1 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 1.181/1.181, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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 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: 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.002818/0.002818, allocations: 109.8 kB / 0.7396 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.175, allocations: 95.39 MB / 0.8328 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6219/0.7969, allocations: 185.6 MB / 1.014 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006105/0.803, allocations: 4.505 MB / 1.018 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008812/0.8039, allocations: 28.03 kB / 1.018 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.8046, allocations: 248.9 kB / 1.019 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.8068, allocations: 0.7936 MB / 1.019 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.8105, allocations: 1.602 MB / 1.021 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.8124, allocations: 1.275 MB / 1.022 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005541/0.8129, allocations: 372.5 kB / 1.023 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.8139, allocations: 0.5927 MB / 1.023 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.8144, allocations: 432.5 kB / 1.024 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.995e-05/0.8145, allocations: 47 kB / 1.024 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.8176, allocations: 1.682 MB / 1.025 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.8178, allocations: 195.8 kB / 1.025 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.8181, allocations: 301.6 kB / 1.026 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.82, allocations: 1.313 MB / 1.027 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.82, allocations: 0 / 1.027 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.82, allocations: 0.9375 kB / 1.027 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.82, allocations: 1.375 kB / 1.027 GB, free: 2.984 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.001648/0.8216, allocations: 0.9708 MB / 1.028 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.8217, allocations: 8.781 kB / 1.028 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.059e-05/0.8218, allocations: 86.16 kB / 1.028 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/0.8236, allocations: 283.6 kB / 1.028 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.8243, allocations: 405.5 kB / 1.029 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.8244, allocations: 34.72 kB / 1.029 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.8244, allocations: 47.38 kB / 1.029 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008923/0.8253, allocations: 0.5517 MB / 1.029 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.8253, allocations: 0 / 1.029 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.95e-05/0.8254, allocations: 14.94 kB / 1.029 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.8254, allocations: 9.812 kB / 1.029 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/0.8263, allocations: 465.5 kB / 1.03 GB, free: 17.99 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.002242/0.8285, allocations: 2.073 MB / 1.032 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008307/0.8293, allocations: 392.6 kB / 1.032 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.8298, allocations: 214.7 kB / 1.032 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.8303, allocations: 87.86 kB / 1.033 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005353/0.8308, allocations: 308.6 kB / 1.033 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.8308, allocations: 3.625 kB / 1.033 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001511/0.8323, allocations: 0.6888 MB / 1.033 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.8323, allocations: 56.89 kB / 1.034 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.8328, allocations: 497.7 kB / 1.034 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.8329, allocations: 38.17 kB / 1.034 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.833, allocations: 262.8 kB / 1.034 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.354e-05/0.8331, allocations: 126 kB / 1.034 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.8332, allocations: 91.84 kB / 1.035 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.8334, allocations: 363.5 kB / 1.035 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.8338, allocations: 202.5 kB / 1.035 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.8343, allocations: 314.5 kB / 1.035 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.8351, allocations: 0.5363 MB / 1.036 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.8351, allocations: 3.734 kB / 1.036 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001077/0.8362, allocations: 0.6577 MB / 1.037 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.8362, allocations: 60.06 kB / 1.037 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8362, allocations: 7.281 kB / 1.037 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8362, allocations: 5.281 kB / 1.037 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.8366, allocations: 98.56 kB / 1.037 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.58e-05/0.8367, allocations: 8.625 kB / 1.037 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/0.8372, allocations: 82.31 kB / 1.037 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.8372, allocations: 24.22 kB / 1.037 GB, free: 15.33 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.0002384/0.8374, allocations: 191.1 kB / 1.037 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-05/0.8375, allocations: 62.22 kB / 1.037 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.8385, allocations: 0.5282 MB / 1.038 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.8386, allocations: 3.281 kB / 1.038 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8386, allocations: 3.219 kB / 1.038 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.8386, allocations: 3.672 kB / 1.038 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.8404, allocations: 1.326 MB / 1.039 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.8404, allocations: 2.438 kB / 1.039 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.8408, allocations: 73.92 kB / 1.039 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.8408, allocations: 7.531 kB / 1.039 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.8409, allocations: 18.17 kB / 1.039 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.8409, allocations: 8.75 kB / 1.039 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8409, allocations: 4.406 kB / 1.039 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.8423, allocations: 0.9462 MB / 1.04 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.8425, allocations: 108.3 kB / 1.04 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.8425, allocations: 8.75 kB / 1.04 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.8429, allocations: 41.69 kB / 1.04 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.843, allocations: 46.53 kB / 1.04 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.8431, allocations: 20.23 kB / 1.04 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003433/0.8434, allocations: 346.3 kB / 1.04 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8434, allocations: 1 kB / 1.04 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005482/0.844, allocations: 155.2 kB / 1.041 GB, free: 14.3 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.001897/0.8459, allocations: 1.562 MB / 1.042 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009987/0.8469, allocations: 0.5677 MB / 1.043 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.8469, allocations: 0 / 1.043 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.8474, allocations: 273.3 kB / 1.043 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.8486, allocations: 294.5 kB / 1.043 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00623/0.8548, allocations: 4.999 MB / 1.048 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.8553, allocations: 0.8701 MB / 1.049 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000444/0.8557, allocations: 120.6 kB / 1.049 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.856, allocations: 177.3 kB / 1.049 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.856, allocations: 0 / 1.049 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/0.9074, allocations: 16.32 MB / 1.065 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.35, allocations: 12.89 kB / 1.065 GB, free: 4.469 MB / 0.7325 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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: 16.43633314501494] Failed to read output from testmodel.py, exit status != 0: 12.467506291810423 12.484517957 11.661104709 Calling exit ...