Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001054/0.001054, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001113/0.001113, allocations: 192.3 kB / 16.13 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8892/0.8892, allocations: 143 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 63.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1312, allocations: 82.05 MB / 0.5937 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3737/0.5049, allocations: 179.6 MB / 0.7691 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005342/0.5103, allocations: 4.487 MB / 0.7735 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.5106, allocations: 15.88 kB / 0.7735 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.5111, allocations: 194.7 kB / 0.7737 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.5126, allocations: 0.7156 MB / 0.7744 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.5153, allocations: 1.401 MB / 0.7758 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.5166, allocations: 1.679 MB / 0.7774 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.517, allocations: 382.2 kB / 0.7778 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006794/0.5177, allocations: 0.5252 MB / 0.7783 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.5181, allocations: 422.2 kB / 0.7787 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.5182, allocations: 28 kB / 0.7787 GB, free: 280 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.5205, allocations: 1.816 MB / 0.7805 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.5207, allocations: 167.5 kB / 0.7806 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.5209, allocations: 290.5 kB / 0.7809 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.5225, allocations: 1.41 MB / 0.7823 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.5225, allocations: 0 / 0.7823 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.71e-07/0.5225, allocations: 4 kB / 0.7823 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.5225, allocations: 0 / 0.7823 GB, free: 12.59 MB / 0.6075 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.001423/0.5239, allocations: 1.014 MB / 0.7833 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.294e-05/0.5239, allocations: 8.031 kB / 0.7833 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.014e-05/0.524, allocations: 86.47 kB / 0.7834 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.5259, allocations: 290.9 kB / 0.7837 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.5265, allocations: 429.5 kB / 0.7841 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.5266, allocations: 37.56 kB / 0.7841 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.5266, allocations: 43.98 kB / 0.7841 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009066/0.5276, allocations: 0.5546 MB / 0.7847 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5276, allocations: 7.938 kB / 0.7847 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.5276, allocations: 16 kB / 0.7847 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.5276, allocations: 11.94 kB / 0.7847 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009888/0.5286, allocations: 459.5 kB / 0.7852 GB, free: 9.512 MB / 0.6075 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.002156/0.5308, allocations: 2.124 MB / 0.7872 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008814/0.5317, allocations: 407.1 kB / 0.7876 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.5322, allocations: 224.6 kB / 0.7878 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006319/0.5328, allocations: 392.3 kB / 0.7882 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/0.5334, allocations: 301.5 kB / 0.7885 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.653e-06/0.5334, allocations: 0 / 0.7885 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001608/0.535, allocations: 0.6903 MB / 0.7892 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.535, allocations: 55.41 kB / 0.7892 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.5356, allocations: 498 kB / 0.7897 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.5356, allocations: 33.7 kB / 0.7897 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5358, allocations: 264.1 kB / 0.79 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.847e-05/0.5359, allocations: 126.2 kB / 0.7901 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.5361, allocations: 94.06 kB / 0.7902 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5362, allocations: 358.8 kB / 0.7905 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.5366, allocations: 196.8 kB / 0.7907 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.5372, allocations: 316.1 kB / 0.791 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.5381, allocations: 0.5461 MB / 0.7916 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5381, allocations: 0 / 0.7916 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001162/0.5393, allocations: 0.648 MB / 0.7922 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.5394, allocations: 71.42 kB / 0.7923 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5394, allocations: 4 kB / 0.7923 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.5394, allocations: 4 kB / 0.7923 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.5398, allocations: 95.81 kB / 0.7924 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.5398, allocations: 4 kB / 0.7924 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.5403, allocations: 91.38 kB / 0.7924 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.5404, allocations: 23.94 kB / 0.7925 GB, free: 1.625 MB / 0.6075 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.0001966/0.5406, allocations: 200.6 kB / 0.7927 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.5406, allocations: 55.34 kB / 0.7927 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.5417, allocations: 0.531 MB / 0.7932 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5417, allocations: 4 kB / 0.7932 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.5418, allocations: 0 / 0.7932 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.5418, allocations: 0 / 0.7932 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.5438, allocations: 1.353 MB / 0.7946 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5439, allocations: 7.938 kB / 0.7946 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.5442, allocations: 84.19 kB / 0.7946 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.5443, allocations: 12 kB / 0.7947 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.5443, allocations: 8 kB / 0.7947 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.5443, allocations: 8 kB / 0.7947 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5443, allocations: 5.188 kB / 0.7947 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.5459, allocations: 0.9327 MB / 0.7956 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.5461, allocations: 184.2 kB / 0.7958 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.5462, allocations: 16.05 kB / 0.7958 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.5466, allocations: 39.95 kB / 0.7958 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5468, allocations: 47.89 kB / 0.7959 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.5468, allocations: 19.98 kB / 0.7959 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003836/0.5472, allocations: 346.8 kB / 0.7962 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5472, allocations: 0 / 0.7962 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004719/0.5477, allocations: 147.8 kB / 0.7964 GB, free: 13.45 MB / 0.6231 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.00206/0.5497, allocations: 1.574 MB / 0.7979 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.5508, allocations: 0.5723 MB / 0.7984 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5508, allocations: 0 / 0.7984 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.5515, allocations: 297.7 kB / 0.7987 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.5527, allocations: 276.7 kB / 0.799 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.5593, allocations: 5.238 MB / 0.8041 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.5597, allocations: 0.8743 MB / 0.805 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004372/0.5602, allocations: 128.7 kB / 0.8051 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.5604, allocations: 175.4 kB / 0.8053 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.5604, allocations: 0 / 0.8053 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.725/3.286, allocations: 15.05 MB / 0.82 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/3.286, allocations: 257 kB / 0.8202 GB, free: 4.992 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/5.754, allocations: 7.875 kB / 0.8202 GB, free: 4.988 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)