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.001174/0.001174, 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.00125/0.00125, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.217/1.217, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.9272/0.9272, allocations: 143 MB / 433.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 68.09 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1569, allocations: 82.05 MB / 0.5939 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4089/0.5658, allocations: 179.4 MB / 0.7691 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005775/0.5716, allocations: 4.424 MB / 0.7735 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004283/0.5721, allocations: 19.88 kB / 0.7735 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.5727, allocations: 218.7 kB / 0.7737 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.5743, allocations: 0.6961 MB / 0.7744 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.5775, allocations: 1.415 MB / 0.7758 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.5789, allocations: 1.27 MB / 0.777 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005564/0.5794, allocations: 417.4 kB / 0.7774 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008759/0.5803, allocations: 0.5876 MB / 0.778 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.5808, allocations: 426.3 kB / 0.7784 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.443e-05/0.5809, allocations: 44 kB / 0.7784 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.5831, allocations: 1.605 MB / 0.78 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.5833, allocations: 191.3 kB / 0.7802 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.5836, allocations: 306.5 kB / 0.7805 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.5853, allocations: 1.43 MB / 0.7819 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5853, allocations: 0 / 0.7819 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5853, allocations: 4 kB / 0.7819 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.5853, allocations: 0 / 0.7819 GB, free: 13.09 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.00165/0.587, allocations: 1.021 MB / 0.7829 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.587, allocations: 12.03 kB / 0.7829 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.662e-05/0.5871, allocations: 74.53 kB / 0.7829 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.5892, allocations: 290.9 kB / 0.7832 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.5899, allocations: 437.5 kB / 0.7836 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.5899, allocations: 36.94 kB / 0.7837 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.59, allocations: 40 kB / 0.7837 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.5911, allocations: 0.5468 MB / 0.7842 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5912, allocations: 0 / 0.7842 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.5912, allocations: 20 kB / 0.7843 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.5913, allocations: 11.94 kB / 0.7843 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.5923, allocations: 459.5 kB / 0.7847 GB, free: 10.03 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.002396/0.5947, allocations: 2.12 MB / 0.7868 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008987/0.5956, allocations: 403.2 kB / 0.7872 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.5961, allocations: 245.1 kB / 0.7874 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/0.5967, allocations: 392.3 kB / 0.7878 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005822/0.5973, allocations: 298.6 kB / 0.7881 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.064e-06/0.5974, allocations: 0 / 0.7881 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001636/0.599, allocations: 0.6825 MB / 0.7887 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.599, allocations: 63.33 kB / 0.7888 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.5996, allocations: 0.4901 MB / 0.7893 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.5996, allocations: 33.7 kB / 0.7893 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.5998, allocations: 264.1 kB / 0.7895 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.5999, allocations: 122.2 kB / 0.7897 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.6001, allocations: 94.11 kB / 0.7898 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6002, allocations: 362.8 kB / 0.7901 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.6007, allocations: 192.8 kB / 0.7903 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.6012, allocations: 324.1 kB / 0.7906 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009363/0.6021, allocations: 0.5422 MB / 0.7911 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6022, allocations: 0 / 0.7911 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001164/0.6033, allocations: 0.6441 MB / 0.7917 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.6034, allocations: 67.47 kB / 0.7918 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.6034, allocations: 7.984 kB / 0.7918 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6034, allocations: 4 kB / 0.7918 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.6039, allocations: 96.64 kB / 0.7919 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6039, allocations: 7.984 kB / 0.7919 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.6045, allocations: 87.39 kB / 0.792 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.6046, allocations: 23.98 kB / 0.792 GB, free: 2.121 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.0002351/0.6048, allocations: 193.6 kB / 0.7922 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.6049, allocations: 55.34 kB / 0.7923 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.606, allocations: 0.5362 MB / 0.7928 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.606, allocations: 4 kB / 0.7928 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.606, allocations: 1.5 kB / 0.7928 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.606, allocations: 0 / 0.7928 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.6081, allocations: 1.354 MB / 0.7941 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.6081, allocations: 7.938 kB / 0.7941 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.6085, allocations: 76.31 kB / 0.7942 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.6085, allocations: 12 kB / 0.7942 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.6086, allocations: 11.98 kB / 0.7942 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.6086, allocations: 4 kB / 0.7942 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.6086, allocations: 7.938 kB / 0.7942 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.6101, allocations: 0.9289 MB / 0.7951 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.6103, allocations: 180.2 kB / 0.7953 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/0.6104, allocations: 15.25 kB / 0.7953 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.6108, allocations: 47.89 kB / 0.7954 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6109, allocations: 55.75 kB / 0.7954 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.611, allocations: 20 kB / 0.7954 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003507/0.6113, allocations: 342.8 kB / 0.7958 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6113, allocations: 0 / 0.7958 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005181/0.6119, allocations: 151.8 kB / 0.7959 GB, free: 13.95 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.002009/0.6139, allocations: 1.562 MB / 0.7974 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.615, allocations: 0.5963 MB / 0.798 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.615, allocations: 0 / 0.798 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.6156, allocations: 293.7 kB / 0.7983 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.6169, allocations: 287.5 kB / 0.7986 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006637/0.6235, allocations: 5.251 MB / 0.8037 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.6239, allocations: 0.8703 MB / 0.8046 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004481/0.6244, allocations: 128.7 kB / 0.8047 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.6246, allocations: 179.4 kB / 0.8048 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.6246, allocations: 0 / 0.8048 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.759/1.384, allocations: 15.51 MB / 0.82 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/1.384, allocations: 249.9 kB / 0.8202 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/3.535, allocations: 0 / 0.8202 GB, free: 5.051 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)