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.001323/0.001323, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 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: 207.3 kB / 16.79 MB, free: 6.84 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6979/0.6979, allocations: 115.3 MB / 405.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.86 kB / 493 MB, free: 6.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1488, allocations: 76.19 MB / 0.5559 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4335/0.5824, allocations: 179.5 MB / 0.7312 GB, free: 3.418 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00551/0.5879, allocations: 4.488 MB / 0.7355 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005797/0.5885, allocations: 19.88 kB / 0.7356 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006985/0.5893, allocations: 198.7 kB / 0.7357 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.5911, allocations: 0.7156 MB / 0.7364 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.5942, allocations: 1.405 MB / 0.7378 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.5958, allocations: 1.687 MB / 0.7395 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.5963, allocations: 382.2 kB / 0.7398 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007557/0.5971, allocations: 0.5174 MB / 0.7403 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.5975, allocations: 422.3 kB / 0.7407 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.5976, allocations: 32 kB / 0.7408 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.6, allocations: 1.808 MB / 0.7425 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.6002, allocations: 171.4 kB / 0.7427 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.6005, allocations: 286.5 kB / 0.743 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.6021, allocations: 1.387 MB / 0.7443 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6021, allocations: 0 / 0.7443 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.001e-06/0.6021, allocations: 4 kB / 0.7443 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.6021, allocations: 0 / 0.7443 GB, free: 5.902 MB / 0.5606 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.001598/0.6037, allocations: 1.022 MB / 0.7453 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6038, allocations: 8.031 kB / 0.7453 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.86e-05/0.6039, allocations: 86.52 kB / 0.7454 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.6058, allocations: 286.9 kB / 0.7457 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.6065, allocations: 437.5 kB / 0.7461 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.6065, allocations: 29 kB / 0.7461 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.6066, allocations: 44 kB / 0.7462 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.6076, allocations: 0.5546 MB / 0.7467 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6076, allocations: 0 / 0.7467 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.6076, allocations: 16 kB / 0.7467 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6077, allocations: 11.94 kB / 0.7467 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6087, allocations: 463.5 kB / 0.7472 GB, free: 2.828 MB / 0.5606 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.002255/0.611, allocations: 2.112 MB / 0.7492 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009094/0.6119, allocations: 410.4 kB / 0.7496 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.6124, allocations: 230.9 kB / 0.7499 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/0.6131, allocations: 400.2 kB / 0.7502 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.6137, allocations: 294.9 kB / 0.7505 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 1.903e-06/0.6137, allocations: 0 / 0.7505 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001701/0.6154, allocations: 0.6852 MB / 0.7512 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.6154, allocations: 59.34 kB / 0.7512 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/0.616, allocations: 498 kB / 0.7517 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.616, allocations: 33.7 kB / 0.7518 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.6162, allocations: 268.1 kB / 0.752 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.349e-05/0.6163, allocations: 122.3 kB / 0.7521 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.6165, allocations: 94.03 kB / 0.7522 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6166, allocations: 358.8 kB / 0.7526 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.6171, allocations: 200.8 kB / 0.7528 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.6176, allocations: 317 kB / 0.7531 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.6185, allocations: 0.5379 MB / 0.7536 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6186, allocations: 0 / 0.7536 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001202/0.6198, allocations: 0.6522 MB / 0.7542 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.6198, allocations: 67.39 kB / 0.7543 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6198, allocations: 4 kB / 0.7543 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6199, allocations: 4 kB / 0.7543 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.6203, allocations: 99.81 kB / 0.7544 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6203, allocations: 4 kB / 0.7544 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.6209, allocations: 88.78 kB / 0.7545 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/0.621, allocations: 24 kB / 0.7545 GB, free: 10.94 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.0002211/0.6212, allocations: 197.5 kB / 0.7547 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.6213, allocations: 55.34 kB / 0.7547 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.6224, allocations: 0.5334 MB / 0.7553 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6224, allocations: 4 kB / 0.7553 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6225, allocations: 0 / 0.7553 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6225, allocations: 3.938 kB / 0.7553 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.6245, allocations: 1.345 MB / 0.7566 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6246, allocations: 7.938 kB / 0.7566 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.625, allocations: 80.31 kB / 0.7567 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.625, allocations: 8 kB / 0.7567 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.625, allocations: 8 kB / 0.7567 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.625, allocations: 8 kB / 0.7567 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.341e-06/0.625, allocations: 7.938 kB / 0.7567 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.6266, allocations: 0.9269 MB / 0.7576 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.6268, allocations: 184.3 kB / 0.7578 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.6269, allocations: 19.92 kB / 0.7578 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.6273, allocations: 43.86 kB / 0.7578 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.6275, allocations: 47.89 kB / 0.7579 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.6275, allocations: 15.98 kB / 0.7579 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003746/0.6279, allocations: 354.7 kB / 0.7582 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6279, allocations: 0 / 0.7582 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005224/0.6284, allocations: 151.8 kB / 0.7584 GB, free: 6.758 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.002087/0.6305, allocations: 1.572 MB / 0.7599 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.6316, allocations: 0.5729 MB / 0.7605 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6316, allocations: 0 / 0.7605 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.6322, allocations: 293.1 kB / 0.7608 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.6335, allocations: 280.8 kB / 0.761 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006789/0.6403, allocations: 5.235 MB / 0.7661 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.6407, allocations: 0.8665 MB / 0.767 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004937/0.6412, allocations: 136.6 kB / 0.7671 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/0.6415, allocations: 175.4 kB / 0.7673 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.6415, allocations: 0 / 0.7673 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.6675, allocations: 15.01 MB / 0.7819 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.6677, allocations: 244.7 kB / 0.7822 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.109, allocations: 0 / 0.7822 GB, free: 14.29 MB / 0.6075 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)