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.001153/0.001153, allocations: 108 kB / 15.6 MB, free: 132 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.001139/0.001139, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.169/1.169, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.868/0.868, allocations: 143 MB / 433.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1587, allocations: 82.04 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4273/0.5861, allocations: 181.8 MB / 0.772 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006094/0.5922, allocations: 4.465 MB / 0.7763 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.5927, allocations: 19.88 kB / 0.7764 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.5933, allocations: 242.1 kB / 0.7766 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.5951, allocations: 0.7619 MB / 0.7773 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.5983, allocations: 1.511 MB / 0.7788 GB, free: 284 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.5995, allocations: 1.258 MB / 0.78 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005785/0.6001, allocations: 445.3 kB / 0.7805 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008275/0.601, allocations: 0.5682 MB / 0.781 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.6014, allocations: 410.3 kB / 0.7814 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.6015, allocations: 44 kB / 0.7814 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.604, allocations: 1.543 MB / 0.783 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.6042, allocations: 183.4 kB / 0.7831 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.6045, allocations: 310.5 kB / 0.7834 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.6062, allocations: 1.317 MB / 0.7847 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6062, allocations: 0 / 0.7847 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6062, allocations: 3.938 kB / 0.7847 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.6063, allocations: 4 kB / 0.7847 GB, free: 10.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.001661/0.6079, allocations: 1.022 MB / 0.7857 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.608, allocations: 8.031 kB / 0.7857 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.232e-05/0.6081, allocations: 78.53 kB / 0.7858 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.6101, allocations: 286.9 kB / 0.7861 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.6108, allocations: 445.5 kB / 0.7865 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.6108, allocations: 29 kB / 0.7865 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.6109, allocations: 47.98 kB / 0.7866 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/0.6119, allocations: 0.5468 MB / 0.7871 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6119, allocations: 0 / 0.7871 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.612, allocations: 19.98 kB / 0.7871 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.612, allocations: 15.94 kB / 0.7871 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.613, allocations: 456.1 kB / 0.7876 GB, free: 7.141 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.002418/0.6155, allocations: 2.132 MB / 0.7897 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.6165, allocations: 407.7 kB / 0.79 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.617, allocations: 233.2 kB / 0.7903 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.6177, allocations: 396.3 kB / 0.7906 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000591/0.6183, allocations: 289.6 kB / 0.7909 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.6183, allocations: 4 kB / 0.7909 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001735/0.6201, allocations: 0.6864 MB / 0.7916 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.6201, allocations: 55.41 kB / 0.7916 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.6206, allocations: 0.4902 MB / 0.7921 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.6207, allocations: 41.7 kB / 0.7922 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.6209, allocations: 260.1 kB / 0.7924 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.621, allocations: 122.2 kB / 0.7925 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.6212, allocations: 90.12 kB / 0.7926 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6213, allocations: 366.8 kB / 0.793 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.6218, allocations: 193.4 kB / 0.7931 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.6223, allocations: 320 kB / 0.7935 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009747/0.6233, allocations: 0.5423 MB / 0.794 GB, free: 200 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6233, allocations: 4 kB / 0.794 GB, free: 196 kB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001261/0.6246, allocations: 0.657 MB / 0.7946 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.6247, allocations: 60.03 kB / 0.7947 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6247, allocations: 0 / 0.7947 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.6247, allocations: 8 kB / 0.7947 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.6251, allocations: 91.88 kB / 0.7948 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.6252, allocations: 11.94 kB / 0.7948 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.6257, allocations: 79.61 kB / 0.7949 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.6257, allocations: 29.03 kB / 0.7949 GB, free: 15.23 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.0002175/0.626, allocations: 193.6 kB / 0.7951 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.626, allocations: 51.34 kB / 0.7951 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.6272, allocations: 0.5406 MB / 0.7957 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6272, allocations: 7.938 kB / 0.7957 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6273, allocations: 0 / 0.7957 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6273, allocations: 4 kB / 0.7957 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.6295, allocations: 1.35 MB / 0.797 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.6296, allocations: 7.938 kB / 0.797 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.63, allocations: 79.02 kB / 0.7971 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.63, allocations: 4.438 kB / 0.7971 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.63, allocations: 19.98 kB / 0.7971 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.63, allocations: 7.938 kB / 0.7971 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.63, allocations: 4 kB / 0.7971 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.6318, allocations: 0.925 MB / 0.798 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.632, allocations: 184.2 kB / 0.7982 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.701e-05/0.6321, allocations: 20.06 kB / 0.7982 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.6325, allocations: 31.95 kB / 0.7982 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.6326, allocations: 47.83 kB / 0.7983 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.6327, allocations: 19.98 kB / 0.7983 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004088/0.6331, allocations: 346.8 kB / 0.7986 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6331, allocations: 0 / 0.7986 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005676/0.6337, allocations: 151.8 kB / 0.7988 GB, free: 11.07 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.002294/0.636, allocations: 1.566 MB / 0.8003 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.6372, allocations: 0.5962 MB / 0.8009 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6372, allocations: 0 / 0.8009 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006595/0.6379, allocations: 297.2 kB / 0.8012 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.6393, allocations: 287.5 kB / 0.8014 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007314/0.6466, allocations: 5.103 MB / 0.8064 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.6471, allocations: 0.8665 MB / 0.8073 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005083/0.6476, allocations: 129.3 kB / 0.8074 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.6478, allocations: 175.4 kB / 0.8076 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.6479, allocations: 4 kB / 0.8076 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0464/0.6943, allocations: 15.75 MB / 0.8229 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.72, allocations: 11.45 kB / 0.823 GB, free: 2.277 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)