Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.001126/0.001126, allocations: 111.9 kB / 15.61 MB, free: 128 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.001108/0.001108, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002253/0.002253, allocations: 298.8 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 93.92 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1649, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4962/0.6611, allocations: 179.4 MB / 0.8555 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008668/0.6698, allocations: 7.829 MB / 0.8631 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008065/0.6707, allocations: 20.91 kB / 0.8631 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007594/0.6715, allocations: 247.3 kB / 0.8634 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.6759, allocations: 1.224 MB / 0.8646 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.6782, allocations: 0.7226 MB / 0.8653 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.6801, allocations: 1.073 MB / 0.8663 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007149/0.6809, allocations: 412.5 kB / 0.8667 GB, free: 4 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.6833, allocations: 0.8257 MB / 0.8675 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008026/0.6842, allocations: 430 kB / 0.8679 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.6843, allocations: 41.34 kB / 0.868 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.6862, allocations: 0.9497 MB / 0.8689 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.6864, allocations: 155.5 kB / 0.869 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.6867, allocations: 250.2 kB / 0.8693 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.6884, allocations: 0.9234 MB / 0.8702 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6884, allocations: 0 / 0.8702 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6884, allocations: 3 kB / 0.8702 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.6884, allocations: 0 / 0.8702 GB, free: 13.93 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001326/0.6898, allocations: 0.811 MB / 0.871 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6898, allocations: 7.75 kB / 0.871 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.7e-05/0.6899, allocations: 74.72 kB / 0.8711 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009911/0.6909, allocations: 156.9 kB / 0.8712 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.6915, allocations: 384.7 kB / 0.8716 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.6915, allocations: 28.12 kB / 0.8716 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.6916, allocations: 36.5 kB / 0.8716 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.6922, allocations: 444.5 kB / 0.8721 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6923, allocations: 5.75 kB / 0.8721 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/0.6923, allocations: 22.83 kB / 0.8721 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.6923, allocations: 9.75 kB / 0.8721 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.6929, allocations: 313.2 kB / 0.8724 GB, free: 12.27 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.002196/0.6951, allocations: 2.024 MB / 0.8744 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.6955, allocations: 246.6 kB / 0.8746 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.6957, allocations: 150.7 kB / 0.8747 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.6963, allocations: 305.1 kB / 0.875 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.6963, allocations: 41.44 kB / 0.8751 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.6963, allocations: 0 / 0.8751 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009164/0.6972, allocations: 454.9 kB / 0.8755 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/0.6973, allocations: 53.5 kB / 0.8756 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.6977, allocations: 404.4 kB / 0.8759 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.6977, allocations: 25.7 kB / 0.876 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.6979, allocations: 233.6 kB / 0.8762 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.698, allocations: 88.61 kB / 0.8763 GB, free: 9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/0.6981, allocations: 63.81 kB / 0.8763 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.6983, allocations: 352.9 kB / 0.8767 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.6985, allocations: 111.6 kB / 0.8768 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.6988, allocations: 182.5 kB / 0.877 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.6992, allocations: 303.7 kB / 0.8772 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6992, allocations: 0 / 0.8772 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005661/0.6998, allocations: 366.4 kB / 0.8776 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6998, allocations: 7.656 kB / 0.8776 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6998, allocations: 0 / 0.8776 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6999, allocations: 4.875 kB / 0.8776 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.7001, allocations: 57.3 kB / 0.8777 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.7001, allocations: 6.062 kB / 0.8777 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.7004, allocations: 44.59 kB / 0.8777 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.081e-05/0.7004, allocations: 18.28 kB / 0.8777 GB, free: 7.988 MB / 0.5919 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.0001602/0.7006, allocations: 165.4 kB / 0.8779 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.7007, allocations: 47.67 kB / 0.8779 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.7014, allocations: 357.8 kB / 0.8783 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.7014, allocations: 1.906 kB / 0.8783 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.7014, allocations: 3.984 kB / 0.8783 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.7014, allocations: 4 kB / 0.8783 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.7027, allocations: 0.9391 MB / 0.8792 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7027, allocations: 3.188 kB / 0.8792 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.7029, allocations: 47.03 kB / 0.8792 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.703, allocations: 6.75 kB / 0.8793 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.703, allocations: 8.875 kB / 0.8793 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.703, allocations: 7.969 kB / 0.8793 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.703, allocations: 2.906 kB / 0.8793 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008387/0.7038, allocations: 0.634 MB / 0.8799 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.704, allocations: 147.2 kB / 0.88 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.7041, allocations: 9.969 kB / 0.88 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.7043, allocations: 15.86 kB / 0.8801 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.7044, allocations: 11.64 kB / 0.8801 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.7044, allocations: 18.11 kB / 0.8801 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002731/0.7047, allocations: 279.7 kB / 0.8803 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7047, allocations: 0 / 0.8803 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004259/0.7051, allocations: 118.3 kB / 0.8805 GB, free: 6.062 MB / 0.5919 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.001357/0.7065, allocations: 1.244 MB / 0.8817 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.707, allocations: 304.8 kB / 0.882 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.707, allocations: 0 / 0.882 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.7073, allocations: 150.4 kB / 0.8821 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.7083, allocations: 226.9 kB / 0.8823 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.7128, allocations: 3.844 MB / 0.8861 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.7132, allocations: 0.8326 MB / 0.8869 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003138/0.7135, allocations: 100.9 kB / 0.887 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.7137, allocations: 136.4 kB / 0.8871 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of SimCode: time 7.91e-07/0.7137, allocations: 0 / 0.8871 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.7476, allocations: 11.6 MB / 0.8984 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/8.213, allocations: 11.75 kB / 0.8985 GB, free: 7.387 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)