Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.001433/0.001433, 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.002407/0.002408, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002307, allocations: 70.06 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2541, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6075/0.8617, allocations: 179.4 MB / 0.9587 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008934/0.8707, allocations: 7.831 MB / 0.9663 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.8717, allocations: 19.75 kB / 0.9663 GB, free: 64 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009621/0.8728, allocations: 245.4 kB / 0.9666 GB, free: 0 / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.877, allocations: 1.226 MB / 0.9678 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.8791, allocations: 0.7292 MB / 0.9685 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.8806, allocations: 1.086 MB / 0.9695 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006908/0.8813, allocations: 403.3 kB / 0.9699 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002724/0.884, allocations: 0.8263 MB / 0.9707 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007729/0.8848, allocations: 436.9 kB / 0.9711 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.8849, allocations: 37.94 kB / 0.9712 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00191/0.8868, allocations: 0.9434 MB / 0.9721 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.887, allocations: 162.2 kB / 0.9722 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.8873, allocations: 245.2 kB / 0.9725 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.8888, allocations: 0.9305 MB / 0.9734 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8888, allocations: 0 / 0.9734 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8888, allocations: 0 / 0.9734 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.8889, allocations: 1.156 kB / 0.9734 GB, free: 14.96 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001056/0.8899, allocations: 0.8056 MB / 0.9742 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.89, allocations: 9.625 kB / 0.9742 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.869e-05/0.8901, allocations: 77.67 kB / 0.9743 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009226/0.891, allocations: 157.8 kB / 0.9744 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.8915, allocations: 379.3 kB / 0.9748 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.8916, allocations: 26.06 kB / 0.9748 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.8916, allocations: 38.5 kB / 0.9748 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.8923, allocations: 451.2 kB / 0.9753 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.8923, allocations: 5.812 kB / 0.9753 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.8924, allocations: 18.34 kB / 0.9753 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.8924, allocations: 10.38 kB / 0.9753 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.893, allocations: 319.2 kB / 0.9756 GB, free: 13.94 MB / 0.7325 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.002056/0.895, allocations: 2.031 MB / 0.9776 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.8954, allocations: 231.6 kB / 0.9778 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.8957, allocations: 151.1 kB / 0.9779 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000566/0.8962, allocations: 310.4 kB / 0.9782 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.8963, allocations: 43.17 kB / 0.9783 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 2.675e-06/0.8963, allocations: 1.438 kB / 0.9783 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001032/0.8973, allocations: 448.1 kB / 0.9787 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.8974, allocations: 58.25 kB / 0.9788 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.8978, allocations: 400.9 kB / 0.9792 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.8978, allocations: 28.27 kB / 0.9792 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.898, allocations: 234.2 kB / 0.9794 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.8981, allocations: 82.17 kB / 0.9795 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.8982, allocations: 57.58 kB / 0.9795 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8983, allocations: 352.5 kB / 0.9799 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.8985, allocations: 113.5 kB / 0.98 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.8988, allocations: 186.1 kB / 0.9802 GB, free: 11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.8992, allocations: 299.8 kB / 0.9804 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8992, allocations: 0 / 0.9804 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005742/0.8998, allocations: 365.6 kB / 0.9808 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.8998, allocations: 7.219 kB / 0.9808 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.8998, allocations: 2.016 kB / 0.9808 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8999, allocations: 2.812 kB / 0.9808 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.9001, allocations: 57.84 kB / 0.9809 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9001, allocations: 5.203 kB / 0.9809 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.9004, allocations: 40.94 kB / 0.9809 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.9004, allocations: 13.91 kB / 0.9809 GB, free: 10.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001645/0.9006, allocations: 172.7 kB / 0.9811 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.9007, allocations: 44.34 kB / 0.9811 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006685/0.9014, allocations: 376 kB / 0.9815 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9014, allocations: 6.844 kB / 0.9815 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9014, allocations: 0 / 0.9815 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.9014, allocations: 3.984 kB / 0.9815 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.9027, allocations: 0.938 MB / 0.9824 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.9028, allocations: 1.812 kB / 0.9824 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.903, allocations: 45.2 kB / 0.9825 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.903, allocations: 10.48 kB / 0.9825 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.903, allocations: 8.969 kB / 0.9825 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.9031, allocations: 4.531 kB / 0.9825 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.9031, allocations: 7.156 kB / 0.9825 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.9039, allocations: 0.6249 MB / 0.9831 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.9041, allocations: 156 kB / 0.9832 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.9041, allocations: 6.531 kB / 0.9832 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.9044, allocations: 13.08 kB / 0.9833 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.9044, allocations: 18.83 kB / 0.9833 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.9044, allocations: 11.56 kB / 0.9833 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002505/0.9047, allocations: 285.2 kB / 0.9836 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9047, allocations: 0 / 0.9836 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004575/0.9052, allocations: 110.2 kB / 0.9837 GB, free: 8.777 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001331/0.9065, allocations: 1.245 MB / 0.9849 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005594/0.9071, allocations: 296.3 kB / 0.9852 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9071, allocations: 0 / 0.9852 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.9073, allocations: 155.4 kB / 0.9853 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.9084, allocations: 233.8 kB / 0.9855 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.9126, allocations: 3.831 MB / 0.9893 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.9129, allocations: 0.8341 MB / 0.9901 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003267/0.9132, allocations: 95.12 kB / 0.9902 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.9134, allocations: 135.8 kB / 0.9903 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.9134, allocations: 3.188 kB / 0.9903 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.9423, allocations: 11.57 MB / 1.002 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.786, allocations: 19.77 kB / 1.002 GB, free: 14.16 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)