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.00127/0.00127, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.00129/0.00129, allocations: 189.3 kB / 16.9 MB, free: 6.195 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.258/1.258, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6817/0.6817, allocations: 115.3 MB / 406.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2964, allocations: 76.17 MB / 0.556 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1561/0.4526, allocations: 179.4 MB / 0.7312 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005416/0.458, allocations: 4.427 MB / 0.7355 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.4586, allocations: 19.88 kB / 0.7355 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006592/0.4593, allocations: 202.7 kB / 0.7357 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.461, allocations: 0.7078 MB / 0.7364 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.464, allocations: 1.413 MB / 0.7378 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.4654, allocations: 1.266 MB / 0.739 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/0.466, allocations: 425.3 kB / 0.7394 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009414/0.4669, allocations: 0.5798 MB / 0.74 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.4674, allocations: 422.3 kB / 0.7404 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.988e-05/0.4675, allocations: 44 kB / 0.7405 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.4697, allocations: 1.613 MB / 0.742 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001909/0.4699, allocations: 191.4 kB / 0.7422 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.4702, allocations: 302.5 kB / 0.7425 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.4721, allocations: 1.398 MB / 0.7439 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4721, allocations: 0 / 0.7439 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4721, allocations: 4 kB / 0.7439 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.4721, allocations: 0 / 0.7439 GB, free: 3.656 MB / 0.5762 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.001794/0.4739, allocations: 1.021 MB / 0.7449 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4739, allocations: 8.031 kB / 0.7449 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.4741, allocations: 78.53 kB / 0.745 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.4761, allocations: 290.9 kB / 0.7452 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.4768, allocations: 437.5 kB / 0.7456 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.4769, allocations: 29 kB / 0.7457 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.4769, allocations: 44 kB / 0.7457 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.478, allocations: 0.5507 MB / 0.7463 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.478, allocations: 4 kB / 0.7463 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.4781, allocations: 23.92 kB / 0.7463 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.4781, allocations: 12 kB / 0.7463 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.4791, allocations: 451.6 kB / 0.7467 GB, free: 0.5898 MB / 0.5762 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.2164/0.6955, allocations: 2.123 MB / 0.7488 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.6965, allocations: 402.9 kB / 0.7492 GB, free: 175 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.697, allocations: 228.3 kB / 0.7494 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006951/0.6978, allocations: 401.2 kB / 0.7498 GB, free: 174.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006362/0.6984, allocations: 295.5 kB / 0.7501 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 2.314e-06/0.6984, allocations: 0.9062 kB / 0.7501 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001828/0.7002, allocations: 0.6875 MB / 0.7507 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.7003, allocations: 61.22 kB / 0.7508 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.7008, allocations: 492.7 kB / 0.7513 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.7009, allocations: 37.98 kB / 0.7513 GB, free: 173.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.701, allocations: 255.5 kB / 0.7515 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.7011, allocations: 126.1 kB / 0.7517 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.7012, allocations: 90.41 kB / 0.7517 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.285e-05/0.7013, allocations: 369.9 kB / 0.7521 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.7019, allocations: 195.2 kB / 0.7523 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/0.7024, allocations: 320.2 kB / 0.7526 GB, free: 173 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009602/0.7034, allocations: 0.5463 MB / 0.7531 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7034, allocations: 1.781 kB / 0.7531 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001443/0.7049, allocations: 0.6498 MB / 0.7538 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.7049, allocations: 64.12 kB / 0.7538 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.7049, allocations: 3.359 kB / 0.7538 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.7049, allocations: 5.312 kB / 0.7538 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.7054, allocations: 95.36 kB / 0.7539 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.7054, allocations: 10.44 kB / 0.7539 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.7061, allocations: 91.31 kB / 0.754 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.7062, allocations: 22.25 kB / 0.754 GB, free: 172.3 MB / 0.5762 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.0001887/0.7064, allocations: 189.5 kB / 0.7542 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.7065, allocations: 52.84 kB / 0.7543 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.7076, allocations: 0.5404 MB / 0.7548 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7076, allocations: 4.094 kB / 0.7548 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7076, allocations: 2.125 kB / 0.7548 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7077, allocations: 3.406 kB / 0.7548 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.7098, allocations: 1.353 MB / 0.7561 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7098, allocations: 4.203 kB / 0.7561 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.7103, allocations: 73.03 kB / 0.7562 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.974e-06/0.7103, allocations: 5.375 kB / 0.7562 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.7104, allocations: 12.42 kB / 0.7562 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.383e-06/0.7104, allocations: 5.75 kB / 0.7562 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7104, allocations: 9.609 kB / 0.7562 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.7119, allocations: 0.9337 MB / 0.7571 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.7121, allocations: 171.5 kB / 0.7573 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.7122, allocations: 17.45 kB / 0.7573 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.7127, allocations: 44.36 kB / 0.7574 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.7128, allocations: 55.75 kB / 0.7574 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.7129, allocations: 17.3 kB / 0.7574 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004111/0.7133, allocations: 346.9 kB / 0.7578 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7133, allocations: 0 / 0.7578 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005245/0.7138, allocations: 151.9 kB / 0.7579 GB, free: 170.4 MB / 0.5762 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.002078/0.7159, allocations: 1.574 MB / 0.7595 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.7171, allocations: 0.6008 MB / 0.76 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.7171, allocations: 0 / 0.76 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007443/0.7178, allocations: 300.3 kB / 0.7603 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.7192, allocations: 285.4 kB / 0.7606 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007695/0.7269, allocations: 5.254 MB / 0.7657 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.7273, allocations: 0.8675 MB / 0.7666 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006169/0.7279, allocations: 127.8 kB / 0.7667 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.7282, allocations: 176.2 kB / 0.7669 GB, free: 165 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.7282, allocations: 0 / 0.7669 GB, free: 165 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/0.773, allocations: 15.46 MB / 0.782 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.7731, allocations: 239.9 kB / 0.7822 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.818, allocations: 0 / 0.7822 GB, free: 159.6 MB / 0.5762 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)