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.001098/0.001098, allocations: 103.4 kB / 16.27 MB, free: 5.988 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.001079/0.001079, allocations: 192.7 kB / 17.2 MB, free: 5.617 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.274/1.274, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.737/0.737, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 63.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3097, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.18/0.4898, allocations: 181.8 MB / 0.7448 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2905/0.7804, allocations: 4.446 MB / 0.7491 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.7814, allocations: 20.78 kB / 0.7492 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.7823, allocations: 251 kB / 0.7494 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.7842, allocations: 0.7523 MB / 0.7501 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.7874, allocations: 1.51 MB / 0.7516 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.7889, allocations: 1.253 MB / 0.7528 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000637/0.7895, allocations: 448.6 kB / 0.7533 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.7904, allocations: 0.5722 MB / 0.7538 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.7909, allocations: 415.2 kB / 0.7542 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.421e-05/0.791, allocations: 49.31 kB / 0.7543 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.7943, allocations: 1.535 MB / 0.7558 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002893/0.7946, allocations: 187.3 kB / 0.7559 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.795, allocations: 304.7 kB / 0.7562 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.7971, allocations: 1.293 MB / 0.7575 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7971, allocations: 0 / 0.7575 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7971, allocations: 2.219 kB / 0.7575 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.7971, allocations: 0 / 0.7575 GB, free: 1.652 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.00197/0.7991, allocations: 1.017 MB / 0.7585 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.7992, allocations: 11.98 kB / 0.7585 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.378e-05/0.7993, allocations: 79.38 kB / 0.7586 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001988/0.8013, allocations: 285.3 kB / 0.7588 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007083/0.802, allocations: 447.4 kB / 0.7593 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.802, allocations: 32.47 kB / 0.7593 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.8021, allocations: 45.48 kB / 0.7593 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.8032, allocations: 0.5426 MB / 0.7599 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.8032, allocations: 1.969 kB / 0.7599 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.8033, allocations: 24.52 kB / 0.7599 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.8033, allocations: 12.12 kB / 0.7599 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.8044, allocations: 454.9 kB / 0.7603 GB, free: 16.55 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.002384/0.8068, allocations: 2.131 MB / 0.7624 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009777/0.8078, allocations: 415.3 kB / 0.7628 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.8083, allocations: 228.7 kB / 0.763 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007427/0.809, allocations: 396.8 kB / 0.7634 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005932/0.8096, allocations: 291 kB / 0.7637 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.8097, allocations: 0 / 0.7637 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001853/0.8115, allocations: 0.6856 MB / 0.7644 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.8116, allocations: 59.41 kB / 0.7644 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/0.8122, allocations: 0.4898 MB / 0.7649 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.8122, allocations: 39.23 kB / 0.7649 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.8124, allocations: 261.2 kB / 0.7652 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.45e-05/0.8125, allocations: 123.7 kB / 0.7653 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.8126, allocations: 91.38 kB / 0.7654 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.8128, allocations: 368.6 kB / 0.7657 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.8132, allocations: 199.5 kB / 0.7659 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.8138, allocations: 311.4 kB / 0.7662 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.8148, allocations: 0.5429 MB / 0.7668 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8148, allocations: 1.812 kB / 0.7668 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001289/0.8161, allocations: 0.6473 MB / 0.7674 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/0.8161, allocations: 65.27 kB / 0.7675 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.8162, allocations: 3.719 kB / 0.7675 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.8162, allocations: 4.719 kB / 0.7675 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.8166, allocations: 97.67 kB / 0.7676 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.8167, allocations: 11.25 kB / 0.7676 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.8172, allocations: 82.52 kB / 0.7676 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.8173, allocations: 20.59 kB / 0.7677 GB, free: 13.52 MB / 0.5919 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.0002246/0.8175, allocations: 202 kB / 0.7679 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.8176, allocations: 53 kB / 0.7679 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.8188, allocations: 0.5349 MB / 0.7684 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.8188, allocations: 5.656 kB / 0.7684 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8188, allocations: 1.094 kB / 0.7684 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.8188, allocations: 3.906 kB / 0.7684 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.821, allocations: 1.353 MB / 0.7698 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.821, allocations: 4.594 kB / 0.7698 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.8214, allocations: 78.02 kB / 0.7698 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.934e-06/0.8214, allocations: 5.469 kB / 0.7698 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.8215, allocations: 14.09 kB / 0.7699 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.8215, allocations: 8.625 kB / 0.7699 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.8215, allocations: 8.781 kB / 0.7699 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.8231, allocations: 0.9322 MB / 0.7708 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.8234, allocations: 174.7 kB / 0.7709 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.8235, allocations: 14.34 kB / 0.771 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.8239, allocations: 33.7 kB / 0.771 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.824, allocations: 53.59 kB / 0.771 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.8241, allocations: 11.72 kB / 0.7711 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003514/0.8244, allocations: 348.8 kB / 0.7714 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8245, allocations: 0 / 0.7714 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005528/0.825, allocations: 157.2 kB / 0.7715 GB, free: 12.36 MB / 0.5919 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.002028/0.827, allocations: 1.566 MB / 0.7731 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.8281, allocations: 0.5954 MB / 0.7737 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8282, allocations: 2.125 kB / 0.7737 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.8287, allocations: 286.5 kB / 0.7739 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.8301, allocations: 294.9 kB / 0.7742 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/0.8364, allocations: 5.102 MB / 0.7792 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.8368, allocations: 0.8665 MB / 0.78 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004971/0.8373, allocations: 123.8 kB / 0.7802 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.8376, allocations: 173 kB / 0.7803 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.8376, allocations: 0 / 0.7803 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.8712, allocations: 15.71 MB / 0.7957 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/8.394, allocations: 3.438 kB / 0.7957 GB, free: 5.539 MB / 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 & 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)