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.001881/0.001881, allocations: 104.3 kB / 16.4 MB, free: 6.469 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.002121/0.002121, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7753/0.7753, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 60.31 kB / 0.5735 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1358, allocations: 78.87 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5141/0.65, allocations: 181.8 MB / 0.8281 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006126/0.6561, allocations: 4.451 MB / 0.8324 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/0.6567, allocations: 24.06 kB / 0.8325 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.6574, allocations: 246.3 kB / 0.8327 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001839/0.6593, allocations: 0.7504 MB / 0.8334 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.6627, allocations: 1.525 MB / 0.8349 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.6642, allocations: 1.252 MB / 0.8362 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005815/0.6647, allocations: 440.5 kB / 0.8366 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.6662, allocations: 0.7941 MB / 0.8373 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.6667, allocations: 392.2 kB / 0.8377 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.6668, allocations: 47.34 kB / 0.8378 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.6693, allocations: 1.536 MB / 0.8393 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.6695, allocations: 186.5 kB / 0.8394 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.6698, allocations: 301.4 kB / 0.8397 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.6717, allocations: 1.316 MB / 0.841 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6717, allocations: 0 / 0.841 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6717, allocations: 7.281 kB / 0.841 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.6718, allocations: 3.938 kB / 0.841 GB, free: 12.27 MB / 0.6075 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.6734, allocations: 1.031 MB / 0.842 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.6735, allocations: 10.09 kB / 0.842 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.996e-05/0.6736, allocations: 85.64 kB / 0.8421 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.6755, allocations: 290.9 kB / 0.8424 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007828/0.6763, allocations: 478.4 kB / 0.8429 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.6763, allocations: 32.84 kB / 0.8429 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.6764, allocations: 39.62 kB / 0.8429 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/0.6774, allocations: 0.5484 MB / 0.8435 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.6774, allocations: 7.875 kB / 0.8435 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.6775, allocations: 20.33 kB / 0.8435 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.6775, allocations: 10.78 kB / 0.8435 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.6785, allocations: 456.6 kB / 0.8439 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.681, allocations: 2.127 MB / 0.846 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009573/0.682, allocations: 401.3 kB / 0.8464 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.6825, allocations: 229 kB / 0.8466 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006902/0.6832, allocations: 400.1 kB / 0.847 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006398/0.6838, allocations: 292.9 kB / 0.8473 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.584e-06/0.6838, allocations: 0 / 0.8473 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.00184/0.6857, allocations: 0.6909 MB / 0.848 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.6858, allocations: 56.5 kB / 0.848 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.6864, allocations: 495.8 kB / 0.8485 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.6864, allocations: 36.7 kB / 0.8485 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.6866, allocations: 260.4 kB / 0.8488 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.6868, allocations: 131.8 kB / 0.8489 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.6869, allocations: 91.89 kB / 0.849 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.6871, allocations: 367.6 kB / 0.8493 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.6876, allocations: 203.9 kB / 0.8495 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.6882, allocations: 310.9 kB / 0.8498 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.6892, allocations: 0.5421 MB / 0.8503 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6893, allocations: 6.719 kB / 0.8504 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001335/0.6906, allocations: 0.6369 MB / 0.851 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.6907, allocations: 66.89 kB / 0.851 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.6907, allocations: 1.969 kB / 0.851 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.6907, allocations: 5.5 kB / 0.851 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.6912, allocations: 98.34 kB / 0.8511 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6912, allocations: 4.469 kB / 0.8511 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.6917, allocations: 89.2 kB / 0.8512 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.6918, allocations: 19.12 kB / 0.8512 GB, free: 4.715 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.0002405/0.692, allocations: 197.6 kB / 0.8514 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.6921, allocations: 63.27 kB / 0.8515 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.6933, allocations: 0.5307 MB / 0.852 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6933, allocations: 2.812 kB / 0.852 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.6933, allocations: 4.797 kB / 0.852 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6934, allocations: 3.984 kB / 0.852 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.6956, allocations: 1.358 MB / 0.8533 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.6957, allocations: 4 kB / 0.8534 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.6961, allocations: 75.83 kB / 0.8534 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.6961, allocations: 4.438 kB / 0.8534 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.6961, allocations: 19.5 kB / 0.8534 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.6961, allocations: 7.984 kB / 0.8535 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6961, allocations: 4 kB / 0.8535 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.6979, allocations: 0.9338 MB / 0.8544 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.6981, allocations: 168.7 kB / 0.8545 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.02e-05/0.6982, allocations: 12.06 kB / 0.8545 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.6986, allocations: 47.89 kB / 0.8546 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6988, allocations: 43.89 kB / 0.8546 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.6988, allocations: 16 kB / 0.8546 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004291/0.6992, allocations: 342.8 kB / 0.855 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6993, allocations: 4 kB / 0.855 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005763/0.6998, allocations: 155.8 kB / 0.8551 GB, free: 1.012 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.002419/0.7023, allocations: 1.58 MB / 0.8567 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.7036, allocations: 0.5925 MB / 0.8572 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7036, allocations: 0 / 0.8572 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.7043, allocations: 291.6 kB / 0.8575 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.7056, allocations: 288.7 kB / 0.8578 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007686/0.7133, allocations: 5.009 MB / 0.8627 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.7139, allocations: 0.8703 MB / 0.8635 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005099/0.7144, allocations: 128.7 kB / 0.8637 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.7147, allocations: 175.4 kB / 0.8638 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.7147, allocations: 0 / 0.8638 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04349/0.7582, allocations: 15.85 MB / 0.8793 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/9.243, allocations: 4.594 kB / 0.8793 GB, free: 8.156 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)