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.006805/0.006805, allocations: 100.6 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.001619/0.00162, allocations: 189.6 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.8117/0.8117, allocations: 143 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.53 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1557, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.518/0.6738, allocations: 181.9 MB / 0.8528 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00601/0.6799, allocations: 4.464 MB / 0.8571 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.681, allocations: 20.66 kB / 0.8572 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.682, allocations: 239.8 kB / 0.8574 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.6849, allocations: 0.7987 MB / 0.8582 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.6888, allocations: 1.552 MB / 0.8597 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.6905, allocations: 1.259 MB / 0.8609 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.6911, allocations: 455.4 kB / 0.8613 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009428/0.692, allocations: 0.5877 MB / 0.8619 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.6925, allocations: 410.3 kB / 0.8623 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.781e-05/0.6926, allocations: 51.88 kB / 0.8624 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.6952, allocations: 1.547 MB / 0.8639 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.6955, allocations: 191.4 kB / 0.8641 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.6958, allocations: 302.5 kB / 0.8643 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.6978, allocations: 1.343 MB / 0.8657 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6978, allocations: 0 / 0.8657 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6978, allocations: 0 / 0.8657 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.6978, allocations: 4 kB / 0.8657 GB, free: 11.05 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.001708/0.6995, allocations: 1.036 MB / 0.8667 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.6996, allocations: 12.03 kB / 0.8667 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.32e-05/0.6997, allocations: 78.52 kB / 0.8668 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.7017, allocations: 287.3 kB / 0.867 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007844/0.7025, allocations: 481.8 kB / 0.8675 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.7025, allocations: 29 kB / 0.8675 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-05/0.7026, allocations: 44 kB / 0.8676 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00097/0.7036, allocations: 0.5468 MB / 0.8681 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.7036, allocations: 7.938 kB / 0.8681 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.7037, allocations: 16 kB / 0.8681 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.7037, allocations: 11.94 kB / 0.8681 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.7047, allocations: 459.5 kB / 0.8686 GB, free: 7.926 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.002356/0.7071, allocations: 2.128 MB / 0.8706 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/0.708, allocations: 410.3 kB / 0.871 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004787/0.7085, allocations: 228.6 kB / 0.8713 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.7091, allocations: 392.3 kB / 0.8716 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005899/0.7097, allocations: 298.8 kB / 0.8719 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.7098, allocations: 0 / 0.8719 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.001915/0.7117, allocations: 0.6897 MB / 0.8726 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.7117, allocations: 59.41 kB / 0.8726 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.7124, allocations: 490.1 kB / 0.8731 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.7125, allocations: 41.7 kB / 0.8731 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.7127, allocations: 260.5 kB / 0.8734 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.7128, allocations: 130.9 kB / 0.8735 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.713, allocations: 90.08 kB / 0.8736 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7131, allocations: 362.8 kB / 0.874 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.7136, allocations: 200.8 kB / 0.8741 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.7142, allocations: 316 kB / 0.8744 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/0.7152, allocations: 0.5409 MB / 0.875 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7152, allocations: 4 kB / 0.875 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001275/0.7165, allocations: 0.6487 MB / 0.8756 GB, free: 316 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.7166, allocations: 67.33 kB / 0.8757 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7166, allocations: 4 kB / 0.8757 GB, free: 232 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.7166, allocations: 4 kB / 0.8757 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.7171, allocations: 99.81 kB / 0.8758 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.7171, allocations: 4 kB / 0.8758 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.7176, allocations: 83.67 kB / 0.8759 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.7176, allocations: 27.81 kB / 0.8759 GB, free: 16 kB / 0.6387 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.0002319/0.7179, allocations: 191.6 kB / 0.8761 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/0.718, allocations: 63.59 kB / 0.8761 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.7192, allocations: 0.5334 MB / 0.8767 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.7192, allocations: 7.984 kB / 0.8767 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7192, allocations: 0 / 0.8767 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7192, allocations: 0 / 0.8767 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.7214, allocations: 1.358 MB / 0.878 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7214, allocations: 7.938 kB / 0.878 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.7218, allocations: 67.89 kB / 0.8781 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.7218, allocations: 4 kB / 0.8781 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.7219, allocations: 20.38 kB / 0.8781 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.7219, allocations: 11.98 kB / 0.8781 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.7219, allocations: 4 kB / 0.8781 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.7235, allocations: 0.9297 MB / 0.879 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.7237, allocations: 172.6 kB / 0.8792 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.7238, allocations: 12 kB / 0.8792 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.7243, allocations: 40.02 kB / 0.8792 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.7244, allocations: 51.83 kB / 0.8793 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.7244, allocations: 15.62 kB / 0.8793 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003769/0.7248, allocations: 346.8 kB / 0.8796 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7248, allocations: 0 / 0.8796 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005449/0.7254, allocations: 159.8 kB / 0.8798 GB, free: 11.86 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.002287/0.7277, allocations: 1.59 MB / 0.8813 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.7289, allocations: 0.586 MB / 0.8819 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.7289, allocations: 4 kB / 0.8819 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.7296, allocations: 284.7 kB / 0.8822 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.7309, allocations: 289.6 kB / 0.8824 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006884/0.7378, allocations: 5.008 MB / 0.8873 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.7382, allocations: 0.8665 MB / 0.8882 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004293/0.7386, allocations: 128.7 kB / 0.8883 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.7389, allocations: 179.4 kB / 0.8885 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.7389, allocations: 4 kB / 0.8885 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.7756, allocations: 15.91 MB / 0.904 GB, free: 2.973 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.995, allocations: 15.92 kB / 0.904 GB, free: 2.957 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 & 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)