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.0009421/0.0009422, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005431/0.005431, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.9397/0.9397, allocations: 143.2 MB / 434.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003021, allocations: 8 kB / 0.5165 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 83.42 MB / 0.598 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4889/0.6428, allocations: 177.2 MB / 0.771 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005632/0.6484, allocations: 4.431 MB / 0.7754 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.6489, allocations: 19.81 kB / 0.7754 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.6494, allocations: 186.8 kB / 0.7756 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.651, allocations: 0.7233 MB / 0.7763 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.6543, allocations: 1.407 MB / 0.7776 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001611/0.6559, allocations: 1.679 MB / 0.7793 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005344/0.6565, allocations: 376.4 kB / 0.7796 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000856/0.6574, allocations: 0.5174 MB / 0.7802 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.6579, allocations: 414.2 kB / 0.7805 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.6579, allocations: 24 kB / 0.7806 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002574/0.6605, allocations: 1.812 MB / 0.7823 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.6607, allocations: 163.5 kB / 0.7825 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.661, allocations: 308.2 kB / 0.7828 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.6628, allocations: 1.39 MB / 0.7841 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6628, allocations: 0 / 0.7841 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.069e-06/0.6628, allocations: 4 kB / 0.7842 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.6629, allocations: 3.938 kB / 0.7842 GB, free: 13.21 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.001606/0.6645, allocations: 0.9279 MB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6645, allocations: 12.03 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.928e-05/0.6646, allocations: 82.52 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.6665, allocations: 286.9 kB / 0.7854 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/0.6672, allocations: 445.5 kB / 0.7858 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.6672, allocations: 31.69 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.6673, allocations: 40 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.6684, allocations: 0.5664 MB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.6684, allocations: 0 / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.6685, allocations: 19.94 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.6685, allocations: 12 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.6696, allocations: 495.5 kB / 0.787 GB, free: 10.18 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.002351/0.6719, allocations: 2.131 MB / 0.7891 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/0.6729, allocations: 438.9 kB / 0.7895 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.6734, allocations: 248.7 kB / 0.7897 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/0.6741, allocations: 408.3 kB / 0.7901 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005986/0.6747, allocations: 313.6 kB / 0.7904 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.6747, allocations: 0 / 0.7904 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001741/0.6764, allocations: 0.7332 MB / 0.7911 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.6765, allocations: 59.39 kB / 0.7912 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.677, allocations: 0.4941 MB / 0.7917 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.6771, allocations: 33.7 kB / 0.7917 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.6772, allocations: 264.1 kB / 0.7919 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.6773, allocations: 122.2 kB / 0.7921 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.6774, allocations: 45.69 kB / 0.7921 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6776, allocations: 362.8 kB / 0.7924 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.678, allocations: 212.8 kB / 0.7926 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.6786, allocations: 332.1 kB / 0.793 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.6797, allocations: 0.5774 MB / 0.7935 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6797, allocations: 7.938 kB / 0.7935 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001243/0.6809, allocations: 0.6831 MB / 0.7942 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.681, allocations: 63.39 kB / 0.7943 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.681, allocations: 0 / 0.7943 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.681, allocations: 8 kB / 0.7943 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.6815, allocations: 99.88 kB / 0.7944 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.6815, allocations: 7.938 kB / 0.7944 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.682, allocations: 95.48 kB / 0.7945 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.6821, allocations: 23.98 kB / 0.7945 GB, free: 2.09 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.0002232/0.6823, allocations: 198.2 kB / 0.7947 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.6824, allocations: 51.34 kB / 0.7947 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.6837, allocations: 0.5735 MB / 0.7953 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6837, allocations: 4 kB / 0.7953 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6837, allocations: 0 / 0.7953 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.6837, allocations: 4 kB / 0.7953 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.6859, allocations: 1.379 MB / 0.7966 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.6859, allocations: 4 kB / 0.7966 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.6863, allocations: 83.89 kB / 0.7967 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.6863, allocations: 4 kB / 0.7967 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.6863, allocations: 15.98 kB / 0.7967 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6864, allocations: 4 kB / 0.7967 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.6864, allocations: 8.031 kB / 0.7968 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.6881, allocations: 0.9912 MB / 0.7977 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.6883, allocations: 176.3 kB / 0.7979 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.6884, allocations: 12 kB / 0.7979 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.6889, allocations: 55.94 kB / 0.798 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.689, allocations: 51.83 kB / 0.798 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.689, allocations: 12 kB / 0.798 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003979/0.6894, allocations: 346.8 kB / 0.7983 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6894, allocations: 0 / 0.7983 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005352/0.69, allocations: 155.8 kB / 0.7985 GB, free: 13.79 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.002348/0.6923, allocations: 1.619 MB / 0.8001 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.6935, allocations: 0.6118 MB / 0.8007 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6935, allocations: 0 / 0.8007 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00065/0.6942, allocations: 310 kB / 0.801 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.6958, allocations: 279.5 kB / 0.8012 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007153/0.7029, allocations: 5.369 MB / 0.8065 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.7034, allocations: 0.8704 MB / 0.8073 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004899/0.7039, allocations: 128.5 kB / 0.8075 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.7041, allocations: 171.4 kB / 0.8076 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.7041, allocations: 0 / 0.8076 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.7396, allocations: 14.9 MB / 0.8222 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.7399, allocations: 257.8 kB / 0.8224 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.835, allocations: 0 / 0.8224 GB, free: 5.289 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)