Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IDEAS_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.001664/0.001664, allocations: 108 kB / 15.61 MB, free: 152 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.002249/0.002249, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7501/0.7501, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.66 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4268, allocations: 80.19 MB / 0.5802 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2363/0.6631, allocations: 181.8 MB / 0.7577 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007186/0.6703, allocations: 4.465 MB / 0.7621 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009925/0.6714, allocations: 19.88 kB / 0.7621 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.6725, allocations: 242.1 kB / 0.7623 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.6753, allocations: 0.758 MB / 0.763 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004485/0.6799, allocations: 1.515 MB / 0.7645 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002143/0.682, allocations: 1.262 MB / 0.7658 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009003/0.6829, allocations: 445.3 kB / 0.7662 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.6843, allocations: 0.5721 MB / 0.7667 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.6851, allocations: 410.3 kB / 0.7671 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.6852, allocations: 44 kB / 0.7672 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.6885, allocations: 1.535 MB / 0.7687 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.6889, allocations: 195.4 kB / 0.7689 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005951/0.6895, allocations: 306.5 kB / 0.7692 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.6927, allocations: 1.297 MB / 0.7704 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6927, allocations: 0 / 0.7704 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6927, allocations: 0 / 0.7704 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.153e-05/0.6927, allocations: 4 kB / 0.7704 GB, free: 14.06 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.002286/0.695, allocations: 1.017 MB / 0.7714 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6951, allocations: 8.031 kB / 0.7714 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.6952, allocations: 82.52 kB / 0.7715 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/0.6975, allocations: 283 kB / 0.7718 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/0.6984, allocations: 441.5 kB / 0.7722 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.6984, allocations: 32.94 kB / 0.7722 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.6986, allocations: 47.98 kB / 0.7723 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.6997, allocations: 0.5507 MB / 0.7728 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.6997, allocations: 0 / 0.7728 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.6998, allocations: 16 kB / 0.7728 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.6998, allocations: 8 kB / 0.7728 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.7009, allocations: 467.5 kB / 0.7733 GB, free: 10.99 MB / 0.6075 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.00275/0.7037, allocations: 2.131 MB / 0.7754 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.7047, allocations: 402.5 kB / 0.7757 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005147/0.7053, allocations: 236.6 kB / 0.776 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/0.706, allocations: 392.3 kB / 0.7763 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006482/0.7067, allocations: 294.8 kB / 0.7766 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.7067, allocations: 0 / 0.7766 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001858/0.7085, allocations: 0.6776 MB / 0.7773 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.7086, allocations: 67.08 kB / 0.7773 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.7092, allocations: 498.1 kB / 0.7778 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.7093, allocations: 37.7 kB / 0.7779 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.7095, allocations: 264.1 kB / 0.7781 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.7097, allocations: 122.2 kB / 0.7782 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.7098, allocations: 94.11 kB / 0.7783 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.71, allocations: 366.7 kB / 0.7787 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.7105, allocations: 192.8 kB / 0.7789 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/0.7111, allocations: 316.1 kB / 0.7792 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.7122, allocations: 0.55 MB / 0.7797 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.7122, allocations: 8 kB / 0.7797 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001377/0.7136, allocations: 0.6495 MB / 0.7803 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.7136, allocations: 61.44 kB / 0.7804 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.7136, allocations: 4 kB / 0.7804 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.7137, allocations: 11.98 kB / 0.7804 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.7141, allocations: 91.83 kB / 0.7805 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.7141, allocations: 7.984 kB / 0.7805 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.7147, allocations: 79.64 kB / 0.7806 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.7148, allocations: 20 kB / 0.7806 GB, free: 3.09 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.0002336/0.715, allocations: 199.1 kB / 0.7808 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.823e-05/0.7151, allocations: 51.34 kB / 0.7808 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.7166, allocations: 0.5379 MB / 0.7814 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.7166, allocations: 4 kB / 0.7814 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.7167, allocations: 0 / 0.7814 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.7167, allocations: 7.922 kB / 0.7814 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.7193, allocations: 1.352 MB / 0.7827 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.7193, allocations: 4 kB / 0.7827 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.7197, allocations: 79.88 kB / 0.7828 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.7198, allocations: 4.438 kB / 0.7828 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.7198, allocations: 16 kB / 0.7828 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.7198, allocations: 4 kB / 0.7828 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7198, allocations: 7.938 kB / 0.7828 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.7216, allocations: 0.9332 MB / 0.7837 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.7219, allocations: 172.4 kB / 0.7839 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-05/0.722, allocations: 15.98 kB / 0.7839 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.7224, allocations: 36.03 kB / 0.7839 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.7226, allocations: 51.81 kB / 0.784 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.7226, allocations: 16 kB / 0.784 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000429/0.723, allocations: 342.8 kB / 0.7843 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7231, allocations: 4 kB / 0.7843 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006386/0.7237, allocations: 155.8 kB / 0.7845 GB, free: 14.92 MB / 0.6231 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.002412/0.7261, allocations: 1.562 MB / 0.786 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.7275, allocations: 0.5997 MB / 0.7866 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7275, allocations: 0 / 0.7866 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006587/0.7281, allocations: 283.6 kB / 0.7869 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.7296, allocations: 290.5 kB / 0.7871 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008251/0.7379, allocations: 5.109 MB / 0.7921 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.7385, allocations: 0.8626 MB / 0.793 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006078/0.7392, allocations: 128.7 kB / 0.7931 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.7395, allocations: 179.3 kB / 0.7933 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of SimCode: time 8.32e-07/0.7395, allocations: 0 / 0.7933 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.7787, allocations: 15.7 MB / 0.8086 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.598, allocations: 7.953 kB / 0.8086 GB, free: 6.156 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)