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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 219.7 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002472/0.002472, allocations: 286.3 kB / 312.7 MB, free: 2.789 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.163/1.163, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 99.88 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1453, allocations: 95.38 MB / 0.8327 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5616/0.7069, allocations: 183.2 MB / 1.012 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008327/0.7152, allocations: 7.948 MB / 1.019 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006966/0.7159, allocations: 28.94 kB / 1.019 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.7166, allocations: 246.6 kB / 1.02 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.7199, allocations: 1.299 MB / 1.021 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.7217, allocations: 0.7675 MB / 1.022 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.723, allocations: 1.097 MB / 1.023 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.7235, allocations: 333.8 kB / 1.023 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.7257, allocations: 0.8695 MB / 1.024 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.7263, allocations: 464.7 kB / 1.024 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.7264, allocations: 35.75 kB / 1.024 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.7282, allocations: 1.026 MB / 1.025 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.7283, allocations: 159.6 kB / 1.026 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.7286, allocations: 248.9 kB / 1.026 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.7298, allocations: 0.9395 MB / 1.027 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.7298, allocations: 0 / 1.027 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7298, allocations: 2 kB / 1.027 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.7298, allocations: 0 / 1.027 GB, free: 2.996 MB / 0.7169 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.001153/0.7309, allocations: 0.7491 MB / 1.027 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.731, allocations: 12.16 kB / 1.027 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.21e-05/0.7311, allocations: 76.88 kB / 1.028 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.732, allocations: 153.7 kB / 1.028 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.7325, allocations: 346.2 kB / 1.028 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.7325, allocations: 31.97 kB / 1.028 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.7326, allocations: 34.44 kB / 1.028 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.7332, allocations: 444.8 kB / 1.029 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.7332, allocations: 1.375 kB / 1.029 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.7333, allocations: 18.88 kB / 1.029 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.7333, allocations: 13.56 kB / 1.029 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.7338, allocations: 321 kB / 1.029 GB, free: 18.16 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.002023/0.7359, allocations: 1.973 MB / 1.031 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.7362, allocations: 224.8 kB / 1.031 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.7364, allocations: 136.6 kB / 1.031 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004365/0.7368, allocations: 85.03 kB / 1.031 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.7368, allocations: 38.22 kB / 1.031 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.7369, allocations: 0 / 1.031 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.0008688/0.7377, allocations: 451.7 kB / 1.032 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.7378, allocations: 56.03 kB / 1.032 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.7381, allocations: 400.3 kB / 1.032 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.7381, allocations: 35.02 kB / 1.032 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.7383, allocations: 231.4 kB / 1.032 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.7383, allocations: 95.69 kB / 1.032 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-05/0.7384, allocations: 56.66 kB / 1.032 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7385, allocations: 350.7 kB / 1.033 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.7387, allocations: 111.2 kB / 1.033 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.739, allocations: 183.4 kB / 1.033 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.7394, allocations: 306.9 kB / 1.033 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.7394, allocations: 0 / 1.033 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005249/0.7399, allocations: 372.3 kB / 1.034 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.7399, allocations: 5.125 kB / 1.034 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7399, allocations: 3.406 kB / 1.034 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7399, allocations: 3.594 kB / 1.034 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.7402, allocations: 60.8 kB / 1.034 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.7402, allocations: 6.562 kB / 1.034 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.7404, allocations: 36.09 kB / 1.034 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.7405, allocations: 14.34 kB / 1.034 GB, free: 15.77 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.0001706/0.7406, allocations: 170.7 kB / 1.034 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.7407, allocations: 48.69 kB / 1.034 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.7413, allocations: 363.1 kB / 1.034 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.7413, allocations: 3.156 kB / 1.034 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.7413, allocations: 0 / 1.034 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.7413, allocations: 3.625 kB / 1.034 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.7425, allocations: 0.9153 MB / 1.035 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7425, allocations: 3.625 kB / 1.035 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.7427, allocations: 47 kB / 1.035 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7427, allocations: 6.875 kB / 1.035 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.7428, allocations: 9.844 kB / 1.035 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7428, allocations: 5.281 kB / 1.035 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7428, allocations: 3.219 kB / 1.035 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.7435, allocations: 0.6252 MB / 1.036 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.7437, allocations: 76.22 kB / 1.036 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.7437, allocations: 9.859 kB / 1.036 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.7439, allocations: 9.406 kB / 1.036 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.744, allocations: 24.94 kB / 1.036 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.744, allocations: 18.38 kB / 1.036 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000226/0.7442, allocations: 276.6 kB / 1.036 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7442, allocations: 4.812 kB / 1.036 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004099/0.7446, allocations: 116.2 kB / 1.037 GB, free: 14.91 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.001176/0.7458, allocations: 1.231 MB / 1.038 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004983/0.7463, allocations: 274 kB / 1.038 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7463, allocations: 0.875 kB / 1.038 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.7465, allocations: 149.6 kB / 1.038 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/0.7475, allocations: 220.2 kB / 1.038 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.7516, allocations: 3.803 MB / 1.042 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.752, allocations: 0.8279 MB / 1.043 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002994/0.7523, allocations: 100.7 kB / 1.043 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.7525, allocations: 140.7 kB / 1.043 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of SimCode: time 4.8e-07/0.7525, allocations: 0 / 1.043 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.794, allocations: 11.99 MB / 1.055 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.38, allocations: 4.594 kB / 1.055 GB, free: 9.172 MB / 0.7325 GB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.392219869998371] Failed to read output from testmodel.py, exit status != 0: 11.485427943000104 11.499795977 10.767166311 Calling exit ...