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.001354/0.001354, allocations: 108 kB / 15.61 MB, free: 152 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: 199.7 kB / 16.54 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.422 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 1.014/1.014, allocations: 143 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 59.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2353, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5097/0.7451, allocations: 181.9 MB / 0.772 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005876/0.751, allocations: 4.455 MB / 0.7763 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.7516, allocations: 19.88 kB / 0.7764 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007963/0.7525, allocations: 254 kB / 0.7766 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.7547, allocations: 0.758 MB / 0.7773 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.7581, allocations: 1.518 MB / 0.7788 GB, free: 316 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.7595, allocations: 1.25 MB / 0.78 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.76, allocations: 453.3 kB / 0.7805 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008775/0.7609, allocations: 0.5643 MB / 0.781 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.7614, allocations: 410.3 kB / 0.7814 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.108e-05/0.7615, allocations: 48 kB / 0.7815 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.7641, allocations: 1.543 MB / 0.783 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.7643, allocations: 179.4 kB / 0.7831 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.7647, allocations: 310.5 kB / 0.7834 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.7667, allocations: 1.317 MB / 0.7847 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7667, allocations: 0 / 0.7847 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7667, allocations: 0 / 0.7847 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.7667, allocations: 0 / 0.7847 GB, free: 10.25 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.001677/0.7684, allocations: 1.026 MB / 0.7857 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.7684, allocations: 8.031 kB / 0.7857 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.833e-05/0.7686, allocations: 82.52 kB / 0.7858 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.7706, allocations: 287.6 kB / 0.7861 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.7713, allocations: 433.5 kB / 0.7865 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.7714, allocations: 36.94 kB / 0.7865 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.7715, allocations: 47.98 kB / 0.7866 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.7725, allocations: 0.5468 MB / 0.7871 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.7725, allocations: 0 / 0.7871 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.7725, allocations: 16 kB / 0.7871 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.7726, allocations: 15.94 kB / 0.7871 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.7736, allocations: 456.1 kB / 0.7876 GB, free: 7.184 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.002709/0.7764, allocations: 2.136 MB / 0.7897 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.7774, allocations: 398.5 kB / 0.79 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.7779, allocations: 237.2 kB / 0.7903 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007276/0.7786, allocations: 396.3 kB / 0.7906 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006564/0.7793, allocations: 297.6 kB / 0.7909 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.906e-06/0.7793, allocations: 0 / 0.7909 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.002036/0.7814, allocations: 0.6825 MB / 0.7916 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.7814, allocations: 63.34 kB / 0.7917 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.782, allocations: 498 kB / 0.7921 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.7821, allocations: 37.7 kB / 0.7922 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.7823, allocations: 260.1 kB / 0.7924 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.7824, allocations: 118.2 kB / 0.7925 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.7826, allocations: 102 kB / 0.7926 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.7828, allocations: 362.8 kB / 0.793 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.7833, allocations: 195.6 kB / 0.7932 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.7839, allocations: 320.1 kB / 0.7935 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.7851, allocations: 0.5461 MB / 0.794 GB, free: 236 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7851, allocations: 0 / 0.794 GB, free: 236 kB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001401/0.7865, allocations: 0.6484 MB / 0.7946 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/0.7865, allocations: 63.39 kB / 0.7947 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.7866, allocations: 4.375 kB / 0.7947 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.7866, allocations: 8 kB / 0.7947 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.7871, allocations: 95.81 kB / 0.7948 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.7871, allocations: 8 kB / 0.7948 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.7876, allocations: 79.92 kB / 0.7949 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.7877, allocations: 20 kB / 0.7949 GB, free: 15.28 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.0002321/0.788, allocations: 201.6 kB / 0.7951 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.788, allocations: 55.28 kB / 0.7951 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.7893, allocations: 0.5397 MB / 0.7957 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.7893, allocations: 0 / 0.7957 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7893, allocations: 8 kB / 0.7957 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7893, allocations: 3.984 kB / 0.7957 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.7915, allocations: 1.35 MB / 0.797 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.7916, allocations: 3.938 kB / 0.797 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.792, allocations: 82.38 kB / 0.7971 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.792, allocations: 4 kB / 0.7971 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.792, allocations: 12 kB / 0.7971 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.7921, allocations: 4 kB / 0.7971 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.7921, allocations: 7.938 kB / 0.7971 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.7938, allocations: 0.937 MB / 0.798 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.794, allocations: 172.2 kB / 0.7982 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.7941, allocations: 19.98 kB / 0.7982 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.7946, allocations: 31.97 kB / 0.7982 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7947, allocations: 55.88 kB / 0.7983 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.7947, allocations: 16 kB / 0.7983 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004015/0.7951, allocations: 342.8 kB / 0.7986 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7951, allocations: 0 / 0.7986 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005656/0.7957, allocations: 151.8 kB / 0.7988 GB, free: 11.12 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.002368/0.7981, allocations: 1.562 MB / 0.8003 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.7994, allocations: 0.6003 MB / 0.8009 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7994, allocations: 128 / 0.8009 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007519/0.8002, allocations: 292.1 kB / 0.8012 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.8016, allocations: 299.5 kB / 0.8015 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.8091, allocations: 5.101 MB / 0.8064 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.8096, allocations: 0.8665 MB / 0.8073 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006336/0.8102, allocations: 130.5 kB / 0.8074 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.8106, allocations: 179.4 kB / 0.8076 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of SimCode: time 7.22e-07/0.8106, allocations: 0 / 0.8076 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.8495, allocations: 15.75 MB / 0.823 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.714, allocations: 6.297 kB / 0.823 GB, free: 2.32 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)