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.001288/0.001288, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001339/0.001339, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.409/1.409, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.00229/0.00229, allocations: 281.1 kB / 309.8 MB, free: 3.512 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.062/1.062, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",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.002981/0.002981, allocations: 97.58 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5427, allocations: 95.34 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.222/0.7647, allocations: 185.3 MB / 1.009 GB, free: 208 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006403/0.7711, allocations: 4.473 MB / 1.013 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005062/0.7716, allocations: 27.75 kB / 1.013 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006588/0.7722, allocations: 262 kB / 1.013 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.774, allocations: 0.7931 MB / 1.014 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003419/0.7774, allocations: 1.555 MB / 1.016 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.7789, allocations: 1.246 MB / 1.017 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005901/0.7795, allocations: 389.4 kB / 1.017 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009578/0.7804, allocations: 0.5916 MB / 1.018 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.7809, allocations: 430.2 kB / 1.018 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.781, allocations: 48 kB / 1.018 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.7836, allocations: 1.652 MB / 1.02 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.7838, allocations: 187.4 kB / 1.02 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.7841, allocations: 302.5 kB / 1.02 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.7861, allocations: 1.316 MB / 1.022 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.7861, allocations: 0 / 1.022 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7861, allocations: 0 / 1.022 GB, free: 2.93 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.7861, allocations: 4 kB / 1.022 GB, free: 2.926 MB / 0.7481 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.001789/0.7879, allocations: 1.04 MB / 1.023 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.7879, allocations: 12.03 kB / 1.023 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.854e-05/0.7879, allocations: 9 kB / 1.023 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.723e-05/0.788, allocations: 82.47 kB / 1.023 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.79, allocations: 287.3 kB / 1.023 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/0.7908, allocations: 473.8 kB / 1.024 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.7908, allocations: 32.94 kB / 1.024 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.7909, allocations: 47.98 kB / 1.024 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.7919, allocations: 0.5468 MB / 1.024 GB, free: 276 kB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.792, allocations: 0 / 1.024 GB, free: 276 kB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.792, allocations: 19.94 kB / 1.024 GB, free: 256 kB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.792, allocations: 8 kB / 1.024 GB, free: 248 kB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.7931, allocations: 463.5 kB / 1.025 GB, free: 15.79 MB / 0.7637 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.002532/0.7956, allocations: 2.124 MB / 1.027 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.7966, allocations: 390.4 kB / 1.027 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.7971, allocations: 221.2 kB / 1.027 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/0.7978, allocations: 396.3 kB / 1.028 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006301/0.7985, allocations: 295.5 kB / 1.028 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=37): time 1.944e-06/0.7985, allocations: 0 / 1.028 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37): time 0.001902/0.8004, allocations: 0.6915 MB / 1.029 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.8004, allocations: 59.34 kB / 1.029 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006152/0.801, allocations: 494.1 kB / 1.029 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.8011, allocations: 33.7 kB / 1.029 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.8013, allocations: 268.5 kB / 1.029 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.8014, allocations: 134.8 kB / 1.03 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.8016, allocations: 90.12 kB / 1.03 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8018, allocations: 362.8 kB / 1.03 GB, free: 10 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.8023, allocations: 192.8 kB / 1.03 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.8029, allocations: 320.1 kB / 1.03 GB, free: 9.461 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.804, allocations: 0.5454 MB / 1.031 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.804, allocations: 0 / 1.031 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001354/0.8054, allocations: 0.6448 MB / 1.032 GB, free: 8.199 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/0.8054, allocations: 71.42 kB / 1.032 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.8054, allocations: 4 kB / 1.032 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8054, allocations: 4 kB / 1.032 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.8059, allocations: 99.81 kB / 1.032 GB, free: 8.012 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.8059, allocations: 4 kB / 1.032 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.8065, allocations: 87.5 kB / 1.032 GB, free: 7.922 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.8065, allocations: 27.98 kB / 1.032 GB, free: 7.895 MB / 0.7637 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.0002466/0.8068, allocations: 191.8 kB / 1.032 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.8069, allocations: 59.62 kB / 1.032 GB, free: 7.641 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.8082, allocations: 0.5346 MB / 1.033 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.8082, allocations: 7.938 kB / 1.033 GB, free: 7.09 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.8082, allocations: 0 / 1.033 GB, free: 7.09 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.8082, allocations: 3.984 kB / 1.033 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.8107, allocations: 1.354 MB / 1.034 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.8107, allocations: 4 kB / 1.034 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.8111, allocations: 75.88 kB / 1.034 GB, free: 5.555 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.8111, allocations: 8 kB / 1.034 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.8111, allocations: 8 kB / 1.034 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.8111, allocations: 4.438 kB / 1.034 GB, free: 5.535 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.8111, allocations: 11.94 kB / 1.034 GB, free: 5.523 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.8129, allocations: 0.9447 MB / 1.035 GB, free: 4.516 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.8131, allocations: 176.6 kB / 1.035 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.8132, allocations: 12 kB / 1.035 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004285/0.8136, allocations: 40.02 kB / 1.035 GB, free: 4.273 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.8138, allocations: 51.69 kB / 1.035 GB, free: 4.223 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.8138, allocations: 16 kB / 1.035 GB, free: 4.207 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004252/0.8142, allocations: 342.8 kB / 1.036 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.8142, allocations: 0 / 1.036 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005918/0.8148, allocations: 159.8 kB / 1.036 GB, free: 3.719 MB / 0.7637 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.002399/0.8172, allocations: 1.556 MB / 1.037 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.8185, allocations: 0.5646 MB / 1.038 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8185, allocations: 0.75 kB / 1.038 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.8191, allocations: 279.5 kB / 1.038 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.8205, allocations: 278.8 kB / 1.038 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007768/0.8283, allocations: 5.024 MB / 1.043 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.8288, allocations: 0.8665 MB / 1.044 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004427/0.8292, allocations: 124.7 kB / 1.044 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.8295, allocations: 175.4 kB / 1.044 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 9.92e-07/0.8295, allocations: 0 / 1.044 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.8692, allocations: 16 MB / 1.06 GB, free: 10.83 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/9.543, allocations: 12.58 kB / 1.06 GB, free: 10.82 MB / 0.795 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 & /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: 13.524501170031726] Failed to read output from testmodel.py, exit status != 0: 9.67676348297391 9.691223094 8.902168207 Calling exit ...