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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.989/0.989, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 67.89 kB / 0.5142 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1775, allocations: 82.04 MB / 0.5943 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4989/0.6764, allocations: 181.9 MB / 0.7719 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006905/0.6834, allocations: 4.464 MB / 0.7762 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008766/0.6843, allocations: 19.88 kB / 0.7762 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007977/0.6851, allocations: 246.1 kB / 0.7765 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.6874, allocations: 0.758 MB / 0.7772 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.6912, allocations: 1.513 MB / 0.7787 GB, free: 400 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.693, allocations: 1.246 MB / 0.7799 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006913/0.6937, allocations: 457.3 kB / 0.7804 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.695, allocations: 0.5682 MB / 0.7809 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005116/0.6955, allocations: 410.3 kB / 0.7813 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.6956, allocations: 44 kB / 0.7813 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.6988, allocations: 1.539 MB / 0.7828 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.6991, allocations: 191.4 kB / 0.783 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004878/0.6996, allocations: 302.5 kB / 0.7833 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.7027, allocations: 1.325 MB / 0.7846 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7027, allocations: 3.938 kB / 0.7846 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7027, allocations: 0 / 0.7846 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.7027, allocations: 4 kB / 0.7846 GB, free: 10.32 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.001955/0.7047, allocations: 1.017 MB / 0.7856 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.7047, allocations: 8.031 kB / 0.7856 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.7069, allocations: 286.9 kB / 0.7859 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008208/0.7077, allocations: 441.5 kB / 0.7863 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.7077, allocations: 33 kB / 0.7863 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.7078, allocations: 40 kB / 0.7864 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.7089, allocations: 0.5507 MB / 0.7869 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.7089, allocations: 4 kB / 0.7869 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/0.709, allocations: 16.56 kB / 0.7869 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.709, allocations: 11.94 kB / 0.7869 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.7101, allocations: 459.5 kB / 0.7874 GB, free: 7.344 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.002666/0.7127, allocations: 2.132 MB / 0.7895 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.7138, allocations: 406.5 kB / 0.7899 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.7143, allocations: 221.3 kB / 0.7901 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007224/0.715, allocations: 404.2 kB / 0.7905 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006451/0.7157, allocations: 298.2 kB / 0.7907 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 3.016e-06/0.7157, allocations: 0 / 0.7907 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001879/0.7176, allocations: 0.6903 MB / 0.7914 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.7176, allocations: 55.41 kB / 0.7915 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006217/0.7183, allocations: 0.4901 MB / 0.7919 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.7183, allocations: 37.7 kB / 0.792 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.7185, allocations: 256.1 kB / 0.7922 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.7187, allocations: 130.2 kB / 0.7923 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.7188, allocations: 86.12 kB / 0.7924 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.719, allocations: 362.8 kB / 0.7928 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.7195, allocations: 200.8 kB / 0.793 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.7201, allocations: 312.1 kB / 0.7933 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.7212, allocations: 0.5461 MB / 0.7938 GB, free: 408 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7212, allocations: 4 kB / 0.7938 GB, free: 404 kB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001319/0.7225, allocations: 0.6453 MB / 0.7944 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.7226, allocations: 63.39 kB / 0.7945 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.7226, allocations: 4 kB / 0.7945 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.7226, allocations: 4 kB / 0.7945 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.7231, allocations: 99.81 kB / 0.7946 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.7231, allocations: 4.625 kB / 0.7946 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/0.7237, allocations: 84.14 kB / 0.7947 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.7238, allocations: 27.92 kB / 0.7947 GB, free: 15.44 MB / 0.6231 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.0002617/0.724, allocations: 189.6 kB / 0.7949 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.7241, allocations: 63.28 kB / 0.7949 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.7254, allocations: 0.5329 MB / 0.7955 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.7254, allocations: 7.984 kB / 0.7955 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7254, allocations: 0 / 0.7955 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.7254, allocations: 0 / 0.7955 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/0.7277, allocations: 1.356 MB / 0.7968 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.7277, allocations: 8.562 kB / 0.7968 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.7281, allocations: 75.83 kB / 0.7969 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.7282, allocations: 8.438 kB / 0.7969 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.7282, allocations: 8 kB / 0.7969 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.7282, allocations: 16.61 kB / 0.7969 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.7282, allocations: 7.938 kB / 0.7969 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.73, allocations: 0.9264 MB / 0.7978 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.7302, allocations: 180.2 kB / 0.798 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.7303, allocations: 8 kB / 0.798 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.7308, allocations: 43.14 kB / 0.798 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.7309, allocations: 47.89 kB / 0.7981 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.731, allocations: 12 kB / 0.7981 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004324/0.7314, allocations: 354.8 kB / 0.7984 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7314, allocations: 4 kB / 0.7984 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006847/0.7321, allocations: 147.8 kB / 0.7986 GB, free: 11.28 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.000481/0.7326, allocations: 196.8 kB / 0.7988 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.7339, allocations: 0.5999 MB / 0.7994 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7339, allocations: 0 / 0.7994 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007044/0.7346, allocations: 289 kB / 0.7996 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.736, allocations: 290.5 kB / 0.7999 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.738, allocations: 1.053 MB / 0.8009 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.7384, allocations: 0.8665 MB / 0.8018 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005333/0.739, allocations: 130.1 kB / 0.8019 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.7391, allocations: 39.44 kB / 0.8019 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.7391, allocations: 4 kB / 0.802 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of Templates: time 0.01902/0.7581, allocations: 10.81 MB / 0.8125 GB, free: 13.12 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)