Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.001591/0.001591, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001766/0.001766, allocations: 220.7 kB / 23.05 MB, free: 5.074 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002534/0.002534, allocations: 283 kB / 313.5 MB, free: 2.816 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.186/1.186, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="cs",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.004563/0.004563, allocations: 101.8 kB / 0.7403 GB, free: 28.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1785, allocations: 95.38 MB / 0.8335 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.5719/0.7504, allocations: 177.7 MB / 1.007 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008995/0.7594, allocations: 9.658 MB / 1.016 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/0.7598, allocations: 13.09 kB / 1.016 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.7603, allocations: 200.6 kB / 1.017 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.7606, allocations: 94.16 kB / 1.017 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.7607, allocations: 72.33 kB / 1.017 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000333/0.7611, allocations: 318.4 kB / 1.017 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.7613, allocations: 113.7 kB / 1.017 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.7616, allocations: 163.3 kB / 1.017 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.7617, allocations: 106.2 kB / 1.018 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.7617, allocations: 17.34 kB / 1.018 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.031e-05/0.7617, allocations: 14.97 kB / 1.018 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.7618, allocations: 39.39 kB / 1.018 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.7619, allocations: 101.4 kB / 1.018 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.7621, allocations: 215.9 kB / 1.018 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7621, allocations: 0.9375 kB / 1.018 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7621, allocations: 1.281 kB / 1.018 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7621, allocations: 0.9062 kB / 1.018 GB, free: 3.234 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005662/0.7627, allocations: 404.8 kB / 1.018 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.7627, allocations: 12.12 kB / 1.018 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.043e-05/0.7627, allocations: 8.25 kB / 1.018 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.7628, allocations: 55.28 kB / 1.018 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.7628, allocations: 26.95 kB / 1.018 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.7631, allocations: 208.5 kB / 1.019 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.7632, allocations: 15.75 kB / 1.019 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.7632, allocations: 20.19 kB / 1.019 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.7634, allocations: 233.3 kB / 1.019 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.7635, allocations: 1.5 kB / 1.019 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.7635, allocations: 6.25 kB / 1.019 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.7635, allocations: 11.7 kB / 1.019 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.7636, allocations: 98.56 kB / 1.019 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.7645, allocations: 1.392 MB / 1.02 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.99e-05/0.7646, allocations: 170.4 kB / 1.02 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.7647, allocations: 81.52 kB / 1.021 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.7647, allocations: 76.12 kB / 1.021 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.7648, allocations: 112 kB / 1.021 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.7648, allocations: 0 / 1.021 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.626e-05/0.7648, allocations: 50.97 kB / 1.021 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.7649, allocations: 127.4 kB / 1.021 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.7652, allocations: 283.5 kB / 1.021 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.7652, allocations: 26.98 kB / 1.021 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.7653, allocations: 155.6 kB / 1.021 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.7653, allocations: 0 / 1.021 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.7653, allocations: 21.19 kB / 1.021 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7654, allocations: 335.7 kB / 1.022 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.7654, allocations: 2.812 kB / 1.022 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.7655, allocations: 30.16 kB / 1.022 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.7655, allocations: 38.34 kB / 1.022 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7655, allocations: 0 / 1.022 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.7656, allocations: 75.47 kB / 1.022 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.7656, allocations: 5.844 kB / 1.022 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7656, allocations: 2.359 kB / 1.022 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7657, allocations: 2.75 kB / 1.022 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.7657, allocations: 6.25 kB / 1.022 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.7657, allocations: 4.266 kB / 1.022 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.7658, allocations: 24.58 kB / 1.022 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.7658, allocations: 3.344 kB / 1.022 GB, free: 16.11 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001217/0.7659, allocations: 208.1 kB / 1.022 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.766, allocations: 119.2 kB / 1.022 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.68e-05/0.766, allocations: 133.9 kB / 1.022 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.199e-05/0.7661, allocations: 177 kB / 1.022 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.131e-05/0.7662, allocations: 181.7 kB / 1.023 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.158e-05/0.7662, allocations: 182.7 kB / 1.023 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.7665, allocations: 447.6 kB / 1.023 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-05/0.7666, allocations: 102 kB / 1.023 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.7666, allocations: 106.5 kB / 1.023 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.883e-05/0.7667, allocations: 180.3 kB / 1.024 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.223e-05/0.7668, allocations: 184.6 kB / 1.024 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.449e-05/0.7668, allocations: 178.5 kB / 1.024 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.782e-05/0.7669, allocations: 186.9 kB / 1.024 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.7671, allocations: 328.5 kB / 1.024 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.7672, allocations: 125.3 kB / 1.025 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.7673, allocations: 188.7 kB / 1.025 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.7674, allocations: 108.7 kB / 1.025 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.7675, allocations: 182.9 kB / 1.025 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.7675, allocations: 102.5 kB / 1.025 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000178/0.7677, allocations: 211.2 kB / 1.025 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7677, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002474/0.7679, allocations: 22.47 kB / 1.025 GB, free: 12.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0004098/0.7683, allocations: 0.8285 MB / 1.026 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.262e-05/0.7684, allocations: 15.22 kB / 1.026 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.7684, allocations: 1.062 kB / 1.026 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.7684, allocations: 0 / 1.026 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.7692, allocations: 0.5315 MB / 1.027 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.7712, allocations: 2.229 MB / 1.029 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.7715, allocations: 0.7242 MB / 1.03 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.033e-05/0.7716, allocations: 26.5 kB / 1.03 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.7716, allocations: 55.91 kB / 1.03 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.7716, allocations: 0 / 1.03 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.7959, allocations: 4.866 MB / 1.034 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.96, allocations: 3.688 kB / 1.034 GB, free: 8.746 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.057252478029113] Failed to read output from testmodel.py, exit status != 0: 12.12467662000563 12.13552489 11.370838565 Calling exit ...