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.001035/0.001035, allocations: 93.27 kB / 16.02 MB, free: 84 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.001235/0.001235, allocations: 181.7 kB / 16.92 MB, free: 6.672 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.364/1.364, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.712/0.712, allocations: 115.5 MB / 407.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 13.25 kB / 496 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 77.54 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5319/0.6695, allocations: 177.2 MB / 0.7331 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005978/0.6755, allocations: 4.441 MB / 0.7374 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006125/0.6762, allocations: 15.88 kB / 0.7374 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006851/0.6769, allocations: 190.8 kB / 0.7376 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.6787, allocations: 0.7117 MB / 0.7383 GB, free: 44 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.6824, allocations: 1.398 MB / 0.7396 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002062/0.6845, allocations: 1.687 MB / 0.7413 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006845/0.6852, allocations: 385.7 kB / 0.7417 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.6863, allocations: 0.5058 MB / 0.7422 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/0.687, allocations: 414.2 kB / 0.7426 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.6871, allocations: 27.94 kB / 0.7426 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.69, allocations: 1.808 MB / 0.7443 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.6902, allocations: 171.5 kB / 0.7445 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.6906, allocations: 308.2 kB / 0.7448 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.6928, allocations: 1.375 MB / 0.7461 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.6928, allocations: 0 / 0.7461 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6928, allocations: 0 / 0.7461 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.6928, allocations: 0 / 0.7461 GB, free: 7.965 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.001685/0.6945, allocations: 0.9326 MB / 0.7471 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6946, allocations: 8.031 kB / 0.7471 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.6947, allocations: 78.52 kB / 0.7471 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.6966, allocations: 290.9 kB / 0.7474 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/0.6973, allocations: 441.5 kB / 0.7478 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.6973, allocations: 33 kB / 0.7479 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.31e-05/0.6974, allocations: 40 kB / 0.7479 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.6985, allocations: 0.5664 MB / 0.7485 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6985, allocations: 0 / 0.7485 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.6986, allocations: 19.94 kB / 0.7485 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.6986, allocations: 12 kB / 0.7485 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.6997, allocations: 491.5 kB / 0.749 GB, free: 4.938 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.002471/0.7022, allocations: 2.127 MB / 0.751 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.7032, allocations: 446.3 kB / 0.7515 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.7037, allocations: 244.7 kB / 0.7517 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/0.7044, allocations: 412.3 kB / 0.7521 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006237/0.705, allocations: 310.9 kB / 0.7524 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.764e-06/0.705, allocations: 0 / 0.7524 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.00183/0.7068, allocations: 0.7398 MB / 0.7531 GB, free: 464 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.7069, allocations: 59.39 kB / 0.7532 GB, free: 392 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005735/0.7075, allocations: 498 kB / 0.7536 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.7075, allocations: 33.7 kB / 0.7537 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.7077, allocations: 264.1 kB / 0.7539 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.7079, allocations: 114.3 kB / 0.754 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/0.7079, allocations: 49.69 kB / 0.7541 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.7081, allocations: 358.8 kB / 0.7544 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.7086, allocations: 216.8 kB / 0.7546 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.7092, allocations: 336 kB / 0.7549 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.7103, allocations: 0.5769 MB / 0.7555 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.7104, allocations: 3.938 kB / 0.7555 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001366/0.7117, allocations: 0.6793 MB / 0.7562 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.702e-05/0.7118, allocations: 71.33 kB / 0.7562 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7118, allocations: 4 kB / 0.7562 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7118, allocations: 4 kB / 0.7563 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.7123, allocations: 104.1 kB / 0.7564 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.7123, allocations: 7.938 kB / 0.7564 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.7129, allocations: 87.48 kB / 0.7564 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.713, allocations: 27.98 kB / 0.7565 GB, free: 12.84 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.0002558/0.7132, allocations: 193.6 kB / 0.7567 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.7133, allocations: 55.34 kB / 0.7567 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.7147, allocations: 0.5724 MB / 0.7573 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.7147, allocations: 4 kB / 0.7573 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7147, allocations: 0 / 0.7573 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.7147, allocations: 0 / 0.7573 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.7169, allocations: 1.389 MB / 0.7586 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.7169, allocations: 4 kB / 0.7586 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.7174, allocations: 79.89 kB / 0.7587 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.7174, allocations: 12.34 kB / 0.7587 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.7174, allocations: 15.98 kB / 0.7587 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-06/0.7174, allocations: 11.94 kB / 0.7587 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7174, allocations: 4 kB / 0.7587 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.7192, allocations: 0.9801 MB / 0.7597 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.7194, allocations: 176.3 kB / 0.7599 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-05/0.7195, allocations: 12 kB / 0.7599 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.72, allocations: 52.02 kB / 0.7599 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.7201, allocations: 51.81 kB / 0.76 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.7202, allocations: 16 kB / 0.76 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003896/0.7205, allocations: 346.8 kB / 0.7603 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7206, allocations: 0 / 0.7603 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005553/0.7211, allocations: 151.8 kB / 0.7605 GB, free: 8.531 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.00236/0.7235, allocations: 1.622 MB / 0.7621 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.7247, allocations: 0.6122 MB / 0.7627 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7247, allocations: 0 / 0.7627 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/0.7254, allocations: 308.7 kB / 0.763 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.7271, allocations: 275.8 kB / 0.7632 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007491/0.7346, allocations: 5.376 MB / 0.7685 GB, free: 32 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.7351, allocations: 0.8743 MB / 0.7693 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005592/0.7356, allocations: 128.7 kB / 0.7694 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.7359, allocations: 171.4 kB / 0.7696 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of SimCode: time 2.605e-06/0.7359, allocations: 0 / 0.7696 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.7652, allocations: 14.84 MB / 0.7841 GB, free: 304 kB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.7654, allocations: 240 kB / 0.7843 GB, free: 40 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.92, allocations: 0 / 0.7843 GB, free: 40 kB / 0.5919 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)