Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 189.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 69.83 kB / 0.6711 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1925, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5912/0.7837, allocations: 179.4 MB / 0.9582 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005279/0.789, allocations: 4.418 MB / 0.9625 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005661/0.7896, allocations: 22.41 kB / 0.9625 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006446/0.7903, allocations: 201 kB / 0.9627 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.7921, allocations: 0.7086 MB / 0.9634 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.7956, allocations: 1.414 MB / 0.9648 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.7969, allocations: 1.268 MB / 0.966 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.7975, allocations: 438.7 kB / 0.9664 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008515/0.7983, allocations: 0.5738 MB / 0.967 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.7988, allocations: 424.8 kB / 0.9674 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.887e-05/0.7989, allocations: 49.06 kB / 0.9674 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.8012, allocations: 1.6 MB / 0.969 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.8014, allocations: 196.3 kB / 0.9692 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.8017, allocations: 305.4 kB / 0.9695 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.8034, allocations: 1.41 MB / 0.9708 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8034, allocations: 0 / 0.9708 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8035, allocations: 1.438 kB / 0.9708 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.8035, allocations: 0 / 0.9708 GB, free: 5.316 MB / 0.7325 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.001817/0.8053, allocations: 1.028 MB / 0.9719 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8053, allocations: 9.219 kB / 0.9719 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.485e-05/0.8054, allocations: 78.77 kB / 0.9719 GB, free: 20.6 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.8075, allocations: 288.8 kB / 0.9722 GB, free: 20.56 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.8081, allocations: 438.3 kB / 0.9726 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.8082, allocations: 32.12 kB / 0.9727 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.8082, allocations: 43.75 kB / 0.9727 GB, free: 20.3 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.8092, allocations: 0.548 MB / 0.9732 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.8092, allocations: 3.688 kB / 0.9732 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.8093, allocations: 21.7 kB / 0.9733 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.8093, allocations: 14.12 kB / 0.9733 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009973/0.8103, allocations: 455.8 kB / 0.9737 GB, free: 20.17 MB / 0.7481 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.002268/0.8126, allocations: 2.12 MB / 0.9758 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.8135, allocations: 407.9 kB / 0.9762 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000459/0.814, allocations: 227 kB / 0.9764 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/0.8147, allocations: 403.4 kB / 0.9768 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005962/0.8153, allocations: 295.8 kB / 0.9771 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 1.994e-06/0.8153, allocations: 0 / 0.9771 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001748/0.8171, allocations: 0.6782 MB / 0.9777 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.8171, allocations: 67.31 kB / 0.9778 GB, free: 18.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.8176, allocations: 499 kB / 0.9783 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.8177, allocations: 39.91 kB / 0.9783 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.8179, allocations: 255.3 kB / 0.9785 GB, free: 18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.8179, allocations: 121.3 kB / 0.9787 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.8181, allocations: 94.5 kB / 0.9787 GB, free: 17.91 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8183, allocations: 362.5 kB / 0.9791 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.8187, allocations: 200.9 kB / 0.9793 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.8193, allocations: 314.4 kB / 0.9796 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009155/0.8202, allocations: 0.5429 MB / 0.9801 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8202, allocations: 1.375 kB / 0.9801 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001223/0.8214, allocations: 0.6537 MB / 0.9807 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.8215, allocations: 68.97 kB / 0.9808 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.8215, allocations: 3.812 kB / 0.9808 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.8215, allocations: 5.031 kB / 0.9808 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.822, allocations: 94.62 kB / 0.9809 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.822, allocations: 10.89 kB / 0.9809 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.8226, allocations: 85.28 kB / 0.981 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.8227, allocations: 22.28 kB / 0.981 GB, free: 17.06 MB / 0.7481 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.0002154/0.8229, allocations: 194.7 kB / 0.9812 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.823, allocations: 57.41 kB / 0.9813 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.8242, allocations: 0.5387 MB / 0.9818 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.8242, allocations: 2.562 kB / 0.9818 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8242, allocations: 1.375 kB / 0.9818 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.8242, allocations: 3.141 kB / 0.9818 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.8263, allocations: 1.344 MB / 0.9831 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8263, allocations: 8.562 kB / 0.9831 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.8267, allocations: 77.55 kB / 0.9832 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.8267, allocations: 4.781 kB / 0.9832 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.8267, allocations: 10.19 kB / 0.9832 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.8268, allocations: 11.52 kB / 0.9832 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.8268, allocations: 6.438 kB / 0.9832 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.8283, allocations: 0.9352 MB / 0.9841 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.8285, allocations: 173.5 kB / 0.9843 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/0.8286, allocations: 10.89 kB / 0.9843 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.8291, allocations: 50.77 kB / 0.9844 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.8292, allocations: 54.09 kB / 0.9844 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/0.8292, allocations: 10.53 kB / 0.9844 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000355/0.8296, allocations: 351.2 kB / 0.9848 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8296, allocations: 0 / 0.9848 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005858/0.8302, allocations: 154.3 kB / 0.9849 GB, free: 15.88 MB / 0.7481 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.002023/0.8322, allocations: 1.558 MB / 0.9864 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.8333, allocations: 0.604 MB / 0.987 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8334, allocations: 0 / 0.987 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006174/0.834, allocations: 292.8 kB / 0.9873 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.8354, allocations: 297.3 kB / 0.9876 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/0.8424, allocations: 5.238 MB / 0.9927 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.8429, allocations: 0.8702 MB / 0.9935 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005972/0.8435, allocations: 120.7 kB / 0.9937 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.8438, allocations: 177.4 kB / 0.9938 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of SimCode: time 1.463e-06/0.8438, allocations: 0 / 0.9938 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.8729, allocations: 15.46 MB / 1.009 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.8731, allocations: 243.2 kB / 1.009 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/3.109, allocations: 0 / 1.009 GB, free: 6.25 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)