Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_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.001049/0.001049, allocations: 103.9 kB / 16.4 MB, free: 6.492 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.001007/0.001007, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6749/0.6749, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 64.09 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 76.18 MB / 0.6316 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5337/0.6683, allocations: 181.8 MB / 0.8091 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005648/0.674, allocations: 4.457 MB / 0.8134 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007867/0.6748, allocations: 24.69 kB / 0.8135 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007261/0.6756, allocations: 247.9 kB / 0.8137 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.6776, allocations: 0.7614 MB / 0.8145 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.6812, allocations: 1.51 MB / 0.8159 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.6826, allocations: 1.267 MB / 0.8172 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.6832, allocations: 444 kB / 0.8176 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.6841, allocations: 0.5779 MB / 0.8181 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.6845, allocations: 408 kB / 0.8185 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.6846, allocations: 45.78 kB / 0.8186 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.687, allocations: 1.542 MB / 0.8201 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.6872, allocations: 185.5 kB / 0.8203 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.6876, allocations: 308.2 kB / 0.8206 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.6894, allocations: 1.3 MB / 0.8218 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6894, allocations: 3.938 kB / 0.8218 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6894, allocations: 0 / 0.8218 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.6894, allocations: 2.406 kB / 0.8218 GB, free: 7.152 MB / 0.5919 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.001728/0.6911, allocations: 1.021 MB / 0.8228 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.6912, allocations: 7.531 kB / 0.8228 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.542e-05/0.6913, allocations: 81.64 kB / 0.8229 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.6932, allocations: 285.9 kB / 0.8232 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.694, allocations: 467.9 kB / 0.8236 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.694, allocations: 34.97 kB / 0.8237 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.6941, allocations: 41.34 kB / 0.8237 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009252/0.6951, allocations: 0.5484 MB / 0.8242 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.6951, allocations: 0 / 0.8242 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.6951, allocations: 21.25 kB / 0.8243 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.6952, allocations: 14.06 kB / 0.8243 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.6962, allocations: 454.5 kB / 0.8247 GB, free: 5.102 MB / 0.5919 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.002546/0.6988, allocations: 2.123 MB / 0.8268 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.6997, allocations: 408.4 kB / 0.8272 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.7002, allocations: 231.2 kB / 0.8274 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000665/0.7009, allocations: 399.4 kB / 0.8278 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006325/0.7015, allocations: 288.8 kB / 0.8281 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/0.7015, allocations: 0 / 0.8281 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.00178/0.7033, allocations: 0.6947 MB / 0.8287 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.7034, allocations: 63.39 kB / 0.8288 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.7039, allocations: 499.7 kB / 0.8293 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/0.7039, allocations: 32.7 kB / 0.8293 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.7041, allocations: 256 kB / 0.8295 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.7043, allocations: 133.7 kB / 0.8297 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.7044, allocations: 87.94 kB / 0.8298 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7046, allocations: 359.7 kB / 0.8301 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.705, allocations: 202.6 kB / 0.8303 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.7055, allocations: 315.8 kB / 0.8306 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009153/0.7065, allocations: 0.5433 MB / 0.8311 GB, free: 196 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7065, allocations: 2.094 kB / 0.8311 GB, free: 196 kB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001177/0.7077, allocations: 0.6464 MB / 0.8318 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.7077, allocations: 65.33 kB / 0.8318 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.7077, allocations: 2.75 kB / 0.8318 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.7078, allocations: 4.938 kB / 0.8318 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.7082, allocations: 94.41 kB / 0.8319 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.7082, allocations: 13.06 kB / 0.8319 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.7087, allocations: 77.45 kB / 0.832 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.7088, allocations: 19.34 kB / 0.832 GB, free: 15.68 MB / 0.6075 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.000215/0.709, allocations: 197.4 kB / 0.8322 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.7091, allocations: 52.38 kB / 0.8323 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.7103, allocations: 0.5313 MB / 0.8328 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7103, allocations: 4.281 kB / 0.8328 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7103, allocations: 0 / 0.8328 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.7103, allocations: 7.297 kB / 0.8328 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.7124, allocations: 1.355 MB / 0.8341 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.7125, allocations: 7.969 kB / 0.8341 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.7129, allocations: 82.56 kB / 0.8342 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.7129, allocations: 5.375 kB / 0.8342 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.7129, allocations: 11.69 kB / 0.8342 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.7129, allocations: 10.36 kB / 0.8342 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.7129, allocations: 5.312 kB / 0.8342 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.7145, allocations: 0.9391 MB / 0.8351 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.7147, allocations: 173 kB / 0.8353 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.7148, allocations: 12.73 kB / 0.8353 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.7152, allocations: 32.41 kB / 0.8354 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.7154, allocations: 55.97 kB / 0.8354 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.7154, allocations: 14 kB / 0.8354 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003833/0.7158, allocations: 346.7 kB / 0.8358 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7158, allocations: 0 / 0.8358 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005491/0.7163, allocations: 153.4 kB / 0.8359 GB, free: 13.1 MB / 0.6075 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.002393/0.7187, allocations: 1.571 MB / 0.8374 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.7199, allocations: 0.5837 MB / 0.838 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7199, allocations: 0 / 0.838 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.7205, allocations: 285.9 kB / 0.8383 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.7218, allocations: 292.4 kB / 0.8386 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00742/0.7292, allocations: 5.003 MB / 0.8434 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.7298, allocations: 0.8626 MB / 0.8443 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005456/0.7304, allocations: 128.6 kB / 0.8444 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.7307, allocations: 187.4 kB / 0.8446 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of SimCode: time 1.412e-06/0.7307, allocations: 0 / 0.8446 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/0.7731, allocations: 16.12 MB / 0.8603 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.33, allocations: 0.5938 kB / 0.8603 GB, free: 6.207 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)