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.005014/0.005014, allocations: 101.4 kB / 15.73 MB, free: 6.469 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.001153/0.001153, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.01/1.01, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 0.5951 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5556, allocations: 82.03 MB / 0.6752 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2267/0.7824, allocations: 181.9 MB / 0.8528 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008001/0.7904, allocations: 4.462 MB / 0.8571 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.7915, allocations: 23.88 kB / 0.8572 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.7927, allocations: 242.1 kB / 0.8574 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.7955, allocations: 0.758 MB / 0.8581 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.8, allocations: 1.522 MB / 0.8596 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002053/0.8021, allocations: 1.254 MB / 0.8608 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008919/0.803, allocations: 441.3 kB / 0.8613 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.8044, allocations: 0.5798 MB / 0.8618 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008052/0.8052, allocations: 406.4 kB / 0.8622 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.8054, allocations: 48 kB / 0.8623 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.8088, allocations: 1.547 MB / 0.8638 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.8091, allocations: 191.4 kB / 0.864 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.8097, allocations: 302.5 kB / 0.8642 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003116/0.8129, allocations: 1.332 MB / 0.8655 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.8129, allocations: 0 / 0.8655 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8129, allocations: 3.938 kB / 0.8655 GB, free: 2.766 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.837e-05/0.8129, allocations: 0 / 0.8655 GB, free: 2.766 MB / 0.6856 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.002292/0.8152, allocations: 1.025 MB / 0.8666 GB, free: 1.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.8153, allocations: 12.03 kB / 0.8666 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.8154, allocations: 74.53 kB / 0.8666 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.8176, allocations: 290.9 kB / 0.8669 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008978/0.8185, allocations: 465.4 kB / 0.8674 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.8185, allocations: 40.98 kB / 0.8674 GB, free: 0.7656 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/0.8187, allocations: 44 kB / 0.8674 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.8197, allocations: 0.5468 MB / 0.868 GB, free: 140 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.8197, allocations: 0 / 0.868 GB, free: 140 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.8198, allocations: 23.94 kB / 0.868 GB, free: 116 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.8198, allocations: 12 kB / 0.868 GB, free: 104 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.357/1.177, allocations: 455.2 kB / 0.8684 GB, free: 189.3 MB / 0.6856 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.003251/1.18, allocations: 2.116 MB / 0.8705 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/1.181, allocations: 414.6 kB / 0.8709 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/1.182, allocations: 222.9 kB / 0.8711 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006737/1.182, allocations: 407.5 kB / 0.8715 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006754/1.183, allocations: 292.7 kB / 0.8718 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.555e-06/1.183, allocations: 1.25 kB / 0.8718 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.002073/1.185, allocations: 0.6843 MB / 0.8724 GB, free: 187 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.185, allocations: 60.48 kB / 0.8725 GB, free: 187 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007455/1.186, allocations: 492.8 kB / 0.873 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/1.186, allocations: 34.97 kB / 0.873 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/1.186, allocations: 264.2 kB / 0.8733 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/1.186, allocations: 121.8 kB / 0.8734 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/1.187, allocations: 97.19 kB / 0.8735 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.187, allocations: 364.2 kB / 0.8738 GB, free: 186 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/1.187, allocations: 197.2 kB / 0.874 GB, free: 186 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/1.188, allocations: 315.3 kB / 0.8743 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/1.189, allocations: 0.5496 MB / 0.8748 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.189, allocations: 1.062 kB / 0.8748 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001458/1.19, allocations: 0.6458 MB / 0.8755 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/1.19, allocations: 65.42 kB / 0.8755 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.191, allocations: 3.281 kB / 0.8755 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.191, allocations: 4.906 kB / 0.8755 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/1.191, allocations: 102 kB / 0.8756 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/1.191, allocations: 6.453 kB / 0.8756 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/1.192, allocations: 73.06 kB / 0.8757 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/1.192, allocations: 21.39 kB / 0.8757 GB, free: 185.1 MB / 0.6856 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.0002601/1.192, allocations: 203.5 kB / 0.8759 GB, free: 185 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/1.192, allocations: 53.66 kB / 0.876 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/1.193, allocations: 0.5294 MB / 0.8765 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.193, allocations: 4.125 kB / 0.8765 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.193, allocations: 2.625 kB / 0.8765 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/1.193, allocations: 2.5 kB / 0.8765 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/1.196, allocations: 1.355 MB / 0.8778 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.196, allocations: 3.906 kB / 0.8778 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/1.196, allocations: 75.55 kB / 0.8779 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.196, allocations: 8.312 kB / 0.8779 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/1.196, allocations: 16.78 kB / 0.8779 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/1.196, allocations: 11.5 kB / 0.8779 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/1.196, allocations: 4.5 kB / 0.8779 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/1.198, allocations: 0.9299 MB / 0.8789 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/1.198, allocations: 172 kB / 0.879 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/1.199, allocations: 10.84 kB / 0.879 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/1.199, allocations: 35.27 kB / 0.8791 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.199, allocations: 58.56 kB / 0.8791 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/1.199, allocations: 13.22 kB / 0.8791 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00051/1.2, allocations: 352.4 kB / 0.8795 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/1.2, allocations: 2.531 kB / 0.8795 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007382/1.2, allocations: 152.5 kB / 0.8796 GB, free: 183.1 MB / 0.6856 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.002441/1.203, allocations: 1.579 MB / 0.8812 GB, free: 182 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.205, allocations: 0.5818 MB / 0.8817 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.205, allocations: 0.7812 kB / 0.8817 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006609/1.205, allocations: 286.5 kB / 0.882 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/1.207, allocations: 282.8 kB / 0.8823 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007027/1.214, allocations: 4.997 MB / 0.8872 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/1.214, allocations: 0.8641 MB / 0.888 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004861/1.215, allocations: 133.8 kB / 0.8881 GB, free: 177.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/1.215, allocations: 176 kB / 0.8883 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.052e-06/1.215, allocations: 0 / 0.8883 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/1.255, allocations: 16.18 MB / 0.9041 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/9.739, allocations: 14.09 kB / 0.9041 GB, free: 165.3 MB / 0.6856 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)