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.001256/0.001256, allocations: 113 kB / 18.94 MB, free: 2.934 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.001521/0.001521, allocations: 210.6 kB / 22.25 MB, free: 5.086 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.395/1.395, allocations: 230.6 MB / 256 MB, free: 8.027 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.002499/0.002499, allocations: 287.4 kB / 312.7 MB, free: 2.926 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.208/1.208, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.002817/0.002817, allocations: 103.1 kB / 0.7396 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.177, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6381/0.8151, allocations: 183.2 MB / 1.012 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008365/0.8235, allocations: 7.953 MB / 1.019 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007164/0.8242, allocations: 25.62 kB / 1.019 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.8249, allocations: 243.9 kB / 1.02 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.8279, allocations: 1.294 MB / 1.021 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.8297, allocations: 0.7743 MB / 1.022 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.8311, allocations: 1.096 MB / 1.023 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005249/0.8317, allocations: 330.9 kB / 1.023 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.8341, allocations: 0.8725 MB / 1.024 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006812/0.8348, allocations: 462.4 kB / 1.024 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.8349, allocations: 37.53 kB / 1.024 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.8369, allocations: 1.022 MB / 1.025 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.837, allocations: 158.5 kB / 1.026 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.8373, allocations: 252.8 kB / 1.026 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.8387, allocations: 0.9385 MB / 1.027 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8387, allocations: 0 / 1.027 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8387, allocations: 0 / 1.027 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.8387, allocations: 2.281 kB / 1.027 GB, free: 2.617 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.001173/0.8399, allocations: 0.7444 MB / 1.027 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.8399, allocations: 12.19 kB / 1.027 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.805e-05/0.84, allocations: 76.66 kB / 1.028 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009166/0.8409, allocations: 160.9 kB / 1.028 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.8415, allocations: 340.7 kB / 1.028 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.8415, allocations: 29.62 kB / 1.028 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.8416, allocations: 40.06 kB / 1.028 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.8422, allocations: 447.1 kB / 1.029 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8422, allocations: 0 / 1.029 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.8422, allocations: 18.09 kB / 1.029 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.8422, allocations: 14.41 kB / 1.029 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.8427, allocations: 317.6 kB / 1.029 GB, free: 17.78 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.001979/0.8447, allocations: 1.974 MB / 1.031 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.8451, allocations: 230 kB / 1.031 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.8453, allocations: 137.4 kB / 1.031 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004455/0.8457, allocations: 88.61 kB / 1.031 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.8457, allocations: 37.39 kB / 1.031 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.8457, allocations: 0.9375 kB / 1.031 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.0008573/0.8466, allocations: 453.2 kB / 1.032 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.8466, allocations: 52.28 kB / 1.032 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.847, allocations: 404.8 kB / 1.032 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.847, allocations: 33.11 kB / 1.032 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.8471, allocations: 225.8 kB / 1.032 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.8472, allocations: 91.42 kB / 1.032 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.8473, allocations: 58.28 kB / 1.032 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.8474, allocations: 351.7 kB / 1.033 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.8476, allocations: 110.6 kB / 1.033 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.8478, allocations: 181.2 kB / 1.033 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.8482, allocations: 317.3 kB / 1.033 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8482, allocations: 0 / 1.033 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005786/0.8488, allocations: 368.8 kB / 1.034 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.8488, allocations: 5.875 kB / 1.034 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.8488, allocations: 3.125 kB / 1.034 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8488, allocations: 2.594 kB / 1.034 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.8491, allocations: 59.66 kB / 1.034 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8491, allocations: 7.156 kB / 1.034 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.8493, allocations: 35.44 kB / 1.034 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.8493, allocations: 15.72 kB / 1.034 GB, free: 15.39 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.0001666/0.8495, allocations: 173.7 kB / 1.034 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.8496, allocations: 43.09 kB / 1.034 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/0.8501, allocations: 363.6 kB / 1.034 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.8502, allocations: 5.969 kB / 1.034 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.8502, allocations: 1.156 kB / 1.034 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8502, allocations: 2.906 kB / 1.034 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.8514, allocations: 0.9132 MB / 1.035 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8514, allocations: 3.125 kB / 1.035 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.8516, allocations: 44.23 kB / 1.035 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.8516, allocations: 2.781 kB / 1.035 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.8516, allocations: 13.78 kB / 1.035 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.8516, allocations: 6.25 kB / 1.035 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8516, allocations: 2.469 kB / 1.035 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007656/0.8524, allocations: 0.6218 MB / 1.036 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.8525, allocations: 74.47 kB / 1.036 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.8526, allocations: 16.22 kB / 1.036 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.8528, allocations: 14.34 kB / 1.036 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.8528, allocations: 23.56 kB / 1.036 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.8529, allocations: 6.094 kB / 1.036 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002301/0.8531, allocations: 284.5 kB / 1.036 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8531, allocations: 0 / 1.036 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004116/0.8535, allocations: 111.6 kB / 1.037 GB, free: 14.53 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.001215/0.8547, allocations: 1.241 MB / 1.038 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.8552, allocations: 271.1 kB / 1.038 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8552, allocations: 1.125 kB / 1.038 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.8554, allocations: 149.1 kB / 1.038 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.8563, allocations: 214.8 kB / 1.038 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.8603, allocations: 3.808 MB / 1.042 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.8608, allocations: 0.8305 MB / 1.043 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002764/0.861, allocations: 102.8 kB / 1.043 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.8612, allocations: 140 kB / 1.043 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.8612, allocations: 0.75 kB / 1.043 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04328/0.9045, allocations: 11.97 MB / 1.055 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12, allocations: 8.078 kB / 1.055 GB, free: 8.812 MB / 0.7325 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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: 16.005903439829126] Failed to read output from testmodel.py, exit status != 0: 12.103121315129101 12.116545703 11.275071507 Calling exit ...