Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_dev_IDEAS_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.001235/0.001235, allocations: 108 kB / 15.6 MB, free: 132 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.001369/0.001369, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9828/0.9828, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 77.27 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1499, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5235/0.6734, allocations: 181.7 MB / 0.762 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006011/0.6795, allocations: 4.456 MB / 0.7663 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006659/0.6802, allocations: 23.81 kB / 0.7663 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.6808, allocations: 246.1 kB / 0.7666 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.6826, allocations: 0.7542 MB / 0.7673 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.6858, allocations: 1.511 MB / 0.7688 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.6871, allocations: 1.252 MB / 0.77 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.6877, allocations: 457.3 kB / 0.7704 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008061/0.6885, allocations: 0.5682 MB / 0.771 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.6889, allocations: 410.2 kB / 0.7714 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.573e-05/0.689, allocations: 44 kB / 0.7714 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.6914, allocations: 1.547 MB / 0.7729 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.6916, allocations: 183.5 kB / 0.7731 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.6919, allocations: 302.5 kB / 0.7734 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.6935, allocations: 1.297 MB / 0.7747 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6936, allocations: 0 / 0.7747 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6936, allocations: 0 / 0.7747 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.6936, allocations: 4 kB / 0.7747 GB, free: 10.03 MB / 0.5919 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.001596/0.6952, allocations: 1.021 MB / 0.7757 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6952, allocations: 16.03 kB / 0.7757 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.205e-05/0.6953, allocations: 82.45 kB / 0.7758 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.6973, allocations: 283 kB / 0.776 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.6979, allocations: 437.5 kB / 0.7765 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.698, allocations: 33 kB / 0.7765 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.6981, allocations: 40 kB / 0.7765 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.699, allocations: 0.5546 MB / 0.7771 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.699, allocations: 0 / 0.7771 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.6991, allocations: 19.94 kB / 0.7771 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.6991, allocations: 15.94 kB / 0.7771 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.7001, allocations: 459.5 kB / 0.7775 GB, free: 6.965 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.002335/0.7025, allocations: 2.123 MB / 0.7796 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/0.7034, allocations: 414.4 kB / 0.78 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.7039, allocations: 224.7 kB / 0.7802 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006596/0.7045, allocations: 400.3 kB / 0.7806 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006039/0.7052, allocations: 281.6 kB / 0.7809 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.833e-06/0.7052, allocations: 0 / 0.7809 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001749/0.7069, allocations: 0.689 MB / 0.7816 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.707, allocations: 71.38 kB / 0.7816 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005236/0.7075, allocations: 0.4902 MB / 0.7821 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.7076, allocations: 33.7 kB / 0.7821 GB, free: 2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.7077, allocations: 260.1 kB / 0.7824 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.7079, allocations: 122.2 kB / 0.7825 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.708, allocations: 90.12 kB / 0.7826 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7081, allocations: 362.8 kB / 0.7829 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.7086, allocations: 200.8 kB / 0.7831 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.7092, allocations: 312.1 kB / 0.7834 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.7102, allocations: 0.5447 MB / 0.7839 GB, free: 32 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7102, allocations: 0 / 0.7839 GB, free: 32 kB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001286/0.7115, allocations: 0.6532 MB / 0.7846 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.7116, allocations: 65.75 kB / 0.7846 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.7116, allocations: 4 kB / 0.7847 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.7116, allocations: 4 kB / 0.7847 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.7121, allocations: 98.31 kB / 0.7847 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.7121, allocations: 12.17 kB / 0.7848 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.7127, allocations: 79.33 kB / 0.7848 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.7127, allocations: 20 kB / 0.7849 GB, free: 15.07 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.0002423/0.713, allocations: 197.6 kB / 0.785 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.7131, allocations: 51.34 kB / 0.7851 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.7143, allocations: 0.5457 MB / 0.7856 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.7143, allocations: 4 kB / 0.7856 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7143, allocations: 0 / 0.7856 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7143, allocations: 3.625 kB / 0.7856 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/0.7165, allocations: 1.355 MB / 0.787 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7166, allocations: 4 kB / 0.787 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.717, allocations: 76.33 kB / 0.787 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/0.717, allocations: 11.92 kB / 0.787 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.717, allocations: 12 kB / 0.7871 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.7171, allocations: 4 kB / 0.7871 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7171, allocations: 7.938 kB / 0.7871 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.7188, allocations: 0.939 MB / 0.788 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002013/0.719, allocations: 168.3 kB / 0.7881 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.7191, allocations: 15.98 kB / 0.7882 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.7195, allocations: 31.97 kB / 0.7882 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.7197, allocations: 51.83 kB / 0.7882 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.7197, allocations: 20.05 kB / 0.7883 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004019/0.7201, allocations: 342.8 kB / 0.7886 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3e-07/0.7201, allocations: 0 / 0.7886 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005581/0.7207, allocations: 159.8 kB / 0.7887 GB, free: 10.91 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.002278/0.723, allocations: 1.563 MB / 0.7903 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.7242, allocations: 0.6045 MB / 0.7909 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.7242, allocations: 0 / 0.7909 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.7249, allocations: 288.7 kB / 0.7911 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.7263, allocations: 291.9 kB / 0.7914 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007436/0.7338, allocations: 5.106 MB / 0.7964 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.7343, allocations: 0.8665 MB / 0.7972 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006079/0.7349, allocations: 129.4 kB / 0.7974 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.7352, allocations: 171.4 kB / 0.7975 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.7352, allocations: 0 / 0.7975 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.7775, allocations: 15.7 MB / 0.8129 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.605, allocations: 8.047 kB / 0.8129 GB, free: 2.117 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)