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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.006032/0.006032, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001638/0.001638, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9107/0.9107, allocations: 143.3 MB / 433.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 68.83 kB / 0.5953 GB, free: 12.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1598, allocations: 82.03 MB / 0.6754 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5813/0.7411, allocations: 181.9 MB / 0.853 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006494/0.7476, allocations: 4.458 MB / 0.8574 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006078/0.7483, allocations: 20.19 kB / 0.8574 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007198/0.749, allocations: 247.3 kB / 0.8576 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.7509, allocations: 0.7568 MB / 0.8584 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003583/0.7545, allocations: 1.516 MB / 0.8599 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001639/0.7561, allocations: 1.266 MB / 0.8611 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000684/0.7568, allocations: 451.4 kB / 0.8615 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.7579, allocations: 0.5683 MB / 0.8621 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.7584, allocations: 410.2 kB / 0.8625 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.63e-05/0.7585, allocations: 44 kB / 0.8625 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.7614, allocations: 1.551 MB / 0.864 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.7616, allocations: 175.5 kB / 0.8642 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.762, allocations: 314.5 kB / 0.8645 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.7642, allocations: 1.339 MB / 0.8658 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7642, allocations: 4 kB / 0.8658 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7642, allocations: 0 / 0.8658 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.7642, allocations: 0 / 0.8658 GB, free: 10.86 MB / 0.6387 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.001757/0.766, allocations: 1.04 MB / 0.8668 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.766, allocations: 12.03 kB / 0.8668 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.935e-05/0.7661, allocations: 82.52 kB / 0.8669 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.7681, allocations: 283.3 kB / 0.8672 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.769, allocations: 477.7 kB / 0.8676 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.769, allocations: 32.94 kB / 0.8677 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-05/0.7691, allocations: 47.94 kB / 0.8677 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.7702, allocations: 0.5468 MB / 0.8683 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.7702, allocations: 0 / 0.8683 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.7702, allocations: 19.98 kB / 0.8683 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.7703, allocations: 19.92 kB / 0.8683 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.7714, allocations: 455.6 kB / 0.8687 GB, free: 7.727 MB / 0.6387 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.002655/0.774, allocations: 2.124 MB / 0.8708 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.775, allocations: 410.3 kB / 0.8712 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.7756, allocations: 232.6 kB / 0.8714 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007116/0.7763, allocations: 400.3 kB / 0.8718 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006646/0.777, allocations: 282.9 kB / 0.8721 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 2.275e-06/0.777, allocations: 0 / 0.8721 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.001927/0.7789, allocations: 0.6935 MB / 0.8727 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.779, allocations: 55.41 kB / 0.8728 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006522/0.7796, allocations: 498.1 kB / 0.8733 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.7797, allocations: 37.7 kB / 0.8733 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.7799, allocations: 264.5 kB / 0.8736 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.7801, allocations: 126.9 kB / 0.8737 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.7802, allocations: 90.08 kB / 0.8738 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.7804, allocations: 370.8 kB / 0.8741 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/0.781, allocations: 192.8 kB / 0.8743 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.7816, allocations: 317.1 kB / 0.8746 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.7827, allocations: 0.5409 MB / 0.8751 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7827, allocations: 0 / 0.8751 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001355/0.7841, allocations: 0.6563 MB / 0.8758 GB, free: 112 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.7841, allocations: 59.41 kB / 0.8758 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7841, allocations: 7.938 kB / 0.8758 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.7842, allocations: 4 kB / 0.8758 GB, free: 28 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.7847, allocations: 95.88 kB / 0.8759 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.7847, allocations: 4 kB / 0.8759 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.7853, allocations: 88.64 kB / 0.876 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.7853, allocations: 27.92 kB / 0.876 GB, free: 15.82 MB / 0.6544 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.0002476/0.7856, allocations: 193.6 kB / 0.8762 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.7857, allocations: 55.67 kB / 0.8763 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.787, allocations: 0.5399 MB / 0.8768 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.787, allocations: 4 kB / 0.8768 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.787, allocations: 0 / 0.8768 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.787, allocations: 0 / 0.8768 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.7895, allocations: 1.358 MB / 0.8781 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.7895, allocations: 7.938 kB / 0.8781 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.7899, allocations: 76.33 kB / 0.8782 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.7899, allocations: 4 kB / 0.8782 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.79, allocations: 15.98 kB / 0.8782 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.875e-05/0.79, allocations: 8 kB / 0.8782 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.79, allocations: 7.938 kB / 0.8783 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.7919, allocations: 0.9252 MB / 0.8792 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.7921, allocations: 176.6 kB / 0.8793 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.7923, allocations: 20.94 kB / 0.8793 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.7927, allocations: 31.95 kB / 0.8794 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.7929, allocations: 47.83 kB / 0.8794 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.7929, allocations: 19.98 kB / 0.8794 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004897/0.7934, allocations: 346.8 kB / 0.8798 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7934, allocations: 0 / 0.8798 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006457/0.7941, allocations: 155.8 kB / 0.8799 GB, free: 11.66 MB / 0.6544 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.002807/0.7969, allocations: 1.581 MB / 0.8815 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.7983, allocations: 0.586 MB / 0.882 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.7983, allocations: 4 kB / 0.882 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007239/0.799, allocations: 288.7 kB / 0.8823 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.8005, allocations: 298 kB / 0.8826 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008933/0.8094, allocations: 5.004 MB / 0.8875 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.8101, allocations: 0.8704 MB / 0.8883 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005682/0.8107, allocations: 124.7 kB / 0.8885 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.811, allocations: 179.4 kB / 0.8886 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of SimCode: time 1.704e-06/0.811, allocations: 3.938 kB / 0.8886 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04536/0.8564, allocations: 15.91 MB / 0.9042 GB, free: 2.777 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.962/9.818, allocations: 11.94 kB / 0.9042 GB, free: 2.766 MB / 0.67 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)