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.001555/0.001555, allocations: 101.9 kB / 19.73 MB, free: 1.965 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.001566/0.001566, allocations: 215.6 kB / 23.03 MB, free: 4.438 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.002459/0.002459, allocations: 297.4 kB / 313.5 MB, free: 2.574 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.193/1.193, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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="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.002759/0.002759, allocations: 96.22 kB / 0.7403 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1925, allocations: 95.39 MB / 0.8334 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.657/0.8494, allocations: 160.5 MB / 0.9902 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005531/0.8549, allocations: 4.141 MB / 0.9942 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.8556, allocations: 29.38 kB / 0.9942 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.8562, allocations: 254.5 kB / 0.9945 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.8581, allocations: 0.7728 MB / 0.9952 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.8617, allocations: 1.552 MB / 0.9967 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.8632, allocations: 1.27 MB / 0.998 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006049/0.8638, allocations: 366.6 kB / 0.9983 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.865, allocations: 0.6036 MB / 0.9989 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.8656, allocations: 428.4 kB / 0.9993 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.441e-05/0.8657, allocations: 48.66 kB / 0.9994 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/0.8683, allocations: 1.282 MB / 1.001 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.8686, allocations: 193.9 kB / 1.001 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.8689, allocations: 255.4 kB / 1.001 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.8714, allocations: 1.255 MB / 1.002 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8714, allocations: 4.094 kB / 1.002 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.163e-06/0.8714, allocations: 0.9375 kB / 1.002 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.8714, allocations: 0 / 1.002 GB, free: 3.406 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.001995/0.8734, allocations: 0.9663 MB / 1.003 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.8734, allocations: 11.83 kB / 1.003 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.889e-05/0.8735, allocations: 12.03 kB / 1.003 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.494e-05/0.8736, allocations: 81.56 kB / 1.003 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.8759, allocations: 291 kB / 1.004 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.8769, allocations: 406 kB / 1.004 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/0.877, allocations: 32.56 kB / 1.004 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.8771, allocations: 47.5 kB / 1.004 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.8783, allocations: 0.5448 MB / 1.005 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.8783, allocations: 1.344 kB / 1.005 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.8784, allocations: 19.19 kB / 1.005 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.8784, allocations: 10.19 kB / 1.005 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.8795, allocations: 465 kB / 1.005 GB, free: 18.42 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.002578/0.8821, allocations: 1.774 MB / 1.007 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009007/0.883, allocations: 398 kB / 1.007 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.8834, allocations: 212.1 kB / 1.007 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/0.8839, allocations: 92.47 kB / 1.007 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005655/0.8845, allocations: 295.9 kB / 1.008 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.8845, allocations: 1 kB / 1.008 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001643/0.8861, allocations: 0.6922 MB / 1.008 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.8862, allocations: 57.72 kB / 1.008 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/0.8867, allocations: 493.9 kB / 1.009 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.8868, allocations: 34.66 kB / 1.009 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.8869, allocations: 263.9 kB / 1.009 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.949e-05/0.887, allocations: 135.7 kB / 1.009 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.8872, allocations: 93.92 kB / 1.009 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.8873, allocations: 360.6 kB / 1.01 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.8879, allocations: 257.1 kB / 1.01 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.8885, allocations: 497.2 kB / 1.011 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/0.8895, allocations: 0.5441 MB / 1.011 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8895, allocations: 1.469 kB / 1.011 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001221/0.8907, allocations: 0.7061 MB / 1.012 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.9e-05/0.8908, allocations: 73.06 kB / 1.012 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.8908, allocations: 4.656 kB / 1.012 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.8908, allocations: 4.875 kB / 1.012 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.8913, allocations: 99.45 kB / 1.012 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.8913, allocations: 8.438 kB / 1.012 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.8919, allocations: 79.98 kB / 1.012 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.8919, allocations: 27.45 kB / 1.012 GB, free: 15.69 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.0002606/0.8922, allocations: 190.3 kB / 1.012 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.8923, allocations: 61.41 kB / 1.012 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.8933, allocations: 0.5303 MB / 1.013 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.8933, allocations: 2.594 kB / 1.013 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8934, allocations: 4.141 kB / 1.013 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.8934, allocations: 3.859 kB / 1.013 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.8954, allocations: 1.266 MB / 1.014 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.8954, allocations: 4.469 kB / 1.014 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.8958, allocations: 77.97 kB / 1.014 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.8959, allocations: 9.844 kB / 1.014 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.8959, allocations: 14.22 kB / 1.014 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.8959, allocations: 5.594 kB / 1.014 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8959, allocations: 6.656 kB / 1.014 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.8975, allocations: 0.9475 MB / 1.015 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.8977, allocations: 102.9 kB / 1.015 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.595e-05/0.8978, allocations: 13.25 kB / 1.015 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.8982, allocations: 35.55 kB / 1.015 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.8983, allocations: 57.28 kB / 1.015 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.8983, allocations: 15.31 kB / 1.015 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004242/0.8987, allocations: 346.1 kB / 1.016 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8987, allocations: 0 / 1.016 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006959/0.8994, allocations: 157.5 kB / 1.016 GB, free: 14.65 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.002068/0.9015, allocations: 1.57 MB / 1.017 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.9027, allocations: 0.6214 MB / 1.018 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.9027, allocations: 0 / 1.018 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005495/0.9032, allocations: 271.1 kB / 1.018 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.9045, allocations: 282.9 kB / 1.018 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006908/0.9114, allocations: 5.232 MB / 1.024 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.9117, allocations: 269.3 kB / 1.024 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005266/0.9122, allocations: 128.2 kB / 1.024 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.9125, allocations: 175 kB / 1.024 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.9125, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.9546, allocations: 17.29 MB / 1.041 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.79, allocations: 9.141 kB / 1.041 GB, free: 8.262 MB / 0.7325 GB " [Timeout remaining time 647] (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.939543843036518] Failed to read output from testmodel.py, exit status != 0: 12.959500557044521 12.974352824 12.099644684 Calling exit ...