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: translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 106.8 kB / 16.4 MB, free: 6.465 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.001368/0.001368, allocations: 193.3 kB / 17.34 MB, free: 5.723 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7106/0.7106, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 71.91 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1439, allocations: 76.17 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5314/0.6753, allocations: 181.8 MB / 0.8096 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005271/0.6806, allocations: 4.447 MB / 0.8139 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006095/0.6813, allocations: 20 kB / 0.814 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.682, allocations: 256 kB / 0.8142 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.6837, allocations: 0.7563 MB / 0.8149 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.6868, allocations: 1.517 MB / 0.8164 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.688, allocations: 1.257 MB / 0.8176 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005382/0.6885, allocations: 459.7 kB / 0.8181 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007868/0.6893, allocations: 0.5712 MB / 0.8186 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.6898, allocations: 418 kB / 0.819 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.6898, allocations: 44.56 kB / 0.8191 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.6918, allocations: 1.539 MB / 0.8206 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.692, allocations: 192.8 kB / 0.8208 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.6923, allocations: 300.8 kB / 0.8211 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.6938, allocations: 1.301 MB / 0.8223 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6938, allocations: 0 / 0.8223 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6938, allocations: 0 / 0.8223 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.6938, allocations: 0 / 0.8223 GB, free: 7.301 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.001543/0.6954, allocations: 1.027 MB / 0.8233 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.6954, allocations: 9.562 kB / 0.8233 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.6973, allocations: 285.8 kB / 0.8236 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/0.698, allocations: 461.7 kB / 0.824 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.698, allocations: 34.47 kB / 0.8241 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.6981, allocations: 42.03 kB / 0.8241 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009567/0.699, allocations: 0.5462 MB / 0.8247 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.6991, allocations: 10.25 kB / 0.8247 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.6991, allocations: 14.62 kB / 0.8247 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.6991, allocations: 16.06 kB / 0.8247 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009287/0.7001, allocations: 456.8 kB / 0.8251 GB, free: 5.32 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.002204/0.7023, allocations: 2.114 MB / 0.8272 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008781/0.7032, allocations: 415 kB / 0.8276 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.7036, allocations: 218.5 kB / 0.8278 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006139/0.7042, allocations: 402.4 kB / 0.8282 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005837/0.7048, allocations: 292.9 kB / 0.8285 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 3.506e-06/0.7049, allocations: 4 kB / 0.8285 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001646/0.7065, allocations: 0.6912 MB / 0.8291 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.7065, allocations: 60.12 kB / 0.8292 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.707, allocations: 496.4 kB / 0.8297 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.7071, allocations: 36.11 kB / 0.8297 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.7073, allocations: 259 kB / 0.83 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/0.7074, allocations: 126.3 kB / 0.8301 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.7075, allocations: 90.12 kB / 0.8302 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7077, allocations: 367.3 kB / 0.8305 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.7081, allocations: 195.8 kB / 0.8307 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.7086, allocations: 317.2 kB / 0.831 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/0.7096, allocations: 0.5432 MB / 0.8315 GB, free: 428 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7096, allocations: 0 / 0.8315 GB, free: 428 kB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001157/0.7108, allocations: 0.6516 MB / 0.8322 GB, free: 52 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.726e-05/0.7108, allocations: 66.55 kB / 0.8322 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7109, allocations: 2.781 kB / 0.8322 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.7109, allocations: 4.5 kB / 0.8322 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.7113, allocations: 103.6 kB / 0.8323 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.7113, allocations: 5.781 kB / 0.8323 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.7118, allocations: 76.67 kB / 0.8324 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.7119, allocations: 19.34 kB / 0.8324 GB, free: 15.9 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.0002061/0.7121, allocations: 197.2 kB / 0.8326 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.7121, allocations: 58.78 kB / 0.8327 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.7133, allocations: 0.5324 MB / 0.8332 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7133, allocations: 2.906 kB / 0.8332 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.7133, allocations: 0 / 0.8332 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7133, allocations: 6.766 kB / 0.8332 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.7154, allocations: 1.347 MB / 0.8345 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7154, allocations: 10.05 kB / 0.8345 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.7158, allocations: 75.58 kB / 0.8346 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.7158, allocations: 5.094 kB / 0.8346 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.7158, allocations: 12.97 kB / 0.8346 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.7159, allocations: 15.2 kB / 0.8346 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7159, allocations: 2.812 kB / 0.8346 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.7174, allocations: 0.9387 MB / 0.8356 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.7176, allocations: 176.6 kB / 0.8357 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.7177, allocations: 13.16 kB / 0.8357 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.7182, allocations: 36.11 kB / 0.8358 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.7183, allocations: 51.42 kB / 0.8358 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.7183, allocations: 17.03 kB / 0.8358 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003795/0.7187, allocations: 348.1 kB / 0.8362 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7187, allocations: 0 / 0.8362 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005179/0.7192, allocations: 149.5 kB / 0.8363 GB, free: 13.32 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.0003888/0.7196, allocations: 200.9 kB / 0.8365 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.7208, allocations: 0.5893 MB / 0.8371 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7208, allocations: 0 / 0.8371 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/0.7214, allocations: 287.8 kB / 0.8374 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.7228, allocations: 291.6 kB / 0.8376 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.7244, allocations: 1.038 MB / 0.8386 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.7247, allocations: 0.8647 MB / 0.8395 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003672/0.7251, allocations: 132.5 kB / 0.8396 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.7252, allocations: 40.22 kB / 0.8397 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.7252, allocations: 0 / 0.8397 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Templates: time 0.01544/0.7407, allocations: 10.85 MB / 0.8502 GB, free: 1.43 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)