Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001562/0.001562, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001995/0.001995, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002632/0.002632, allocations: 295.1 kB / 313.5 MB, free: 2.59 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.366/1.366, allocations: 180.6 MB / 0.5377 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 178] 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.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.002904/0.002904, allocations: 92.89 kB / 0.7403 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2043, allocations: 95.38 MB / 0.8334 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002491/0.2068, allocations: 1.302 MB / 0.8347 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2084, allocations: 0.8514 MB / 0.8355 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.2085, allocations: 0 / 0.8355 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.2085, allocations: 0 / 0.8355 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.2086, allocations: 7.922 kB / 0.8355 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007277/0.2093, allocations: 207.9 kB / 0.8357 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.2093, allocations: 19.86 kB / 0.8357 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.2094, allocations: 8 kB / 0.8357 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.2094, allocations: 7.938 kB / 0.8357 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.2095, allocations: 7.984 kB / 0.8358 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.2095, allocations: 0 / 0.8358 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.2099, allocations: 243.7 kB / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.2099, allocations: 3.984 kB / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.21, allocations: 15.88 kB / 0.836 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.2103, allocations: 151.7 kB / 0.8362 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2103, allocations: 4 kB / 0.8362 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2103, allocations: 4 kB / 0.8362 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.2103, allocations: 0 / 0.8362 GB, free: 5.465 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005239/0.2108, allocations: 286 kB / 0.8364 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2109, allocations: 9.344 kB / 0.8364 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.2109, allocations: 192 / 0.8364 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.211, allocations: 38.75 kB / 0.8365 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.2112, allocations: 12.92 kB / 0.8365 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2113, allocations: 114.5 kB / 0.8366 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2114, allocations: 8.125 kB / 0.8366 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.2114, allocations: 7.938 kB / 0.8366 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2115, allocations: 67.38 kB / 0.8367 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2116, allocations: 0 / 0.8367 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.2116, allocations: 4 kB / 0.8367 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2116, allocations: 0 / 0.8367 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.2116, allocations: 15.98 kB / 0.8367 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.2118, allocations: 128.8 kB / 0.8368 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.2127, allocations: 138.4 kB / 0.837 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.2128, allocations: 16.86 kB / 0.837 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.051e-05/0.2129, allocations: 7.984 kB / 0.837 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2129, allocations: 34.56 kB / 0.837 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2129, allocations: 0 / 0.837 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001966/0.2131, allocations: 65.64 kB / 0.8371 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.2131, allocations: 51.41 kB / 0.8371 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.2132, allocations: 93.86 kB / 0.8372 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.2132, allocations: 29.69 kB / 0.8372 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.2133, allocations: 84.14 kB / 0.8373 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.2133, allocations: 11.91 kB / 0.8373 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.2133, allocations: 17.66 kB / 0.8373 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2135, allocations: 314.8 kB / 0.8376 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.2135, allocations: 7.984 kB / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.2135, allocations: 15.94 kB / 0.8377 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.2136, allocations: 24.84 kB / 0.8377 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2136, allocations: 7.938 kB / 0.8377 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.222e-05/0.2137, allocations: 49.69 kB / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2137, allocations: 12.12 kB / 0.8378 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2137, allocations: 0 / 0.8378 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2137, allocations: 0 / 0.8378 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.952e-05/0.2138, allocations: 7.938 kB / 0.8378 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2138, allocations: 7.938 kB / 0.8378 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.2138, allocations: 0 / 0.8378 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2138, allocations: 0 / 0.8378 GB, free: 3.609 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.000121/0.2139, allocations: 118.4 kB / 0.8379 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.2139, allocations: 0 / 0.8379 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.2142, allocations: 85.47 kB / 0.838 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2142, allocations: 7.984 kB / 0.838 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2142, allocations: 0 / 0.838 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.2142, allocations: 0 / 0.838 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.2144, allocations: 140.6 kB / 0.8381 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2144, allocations: 0 / 0.8381 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.2144, allocations: 11.94 kB / 0.8381 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2144, allocations: 4 kB / 0.8381 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.2144, allocations: 4 kB / 0.8381 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2144, allocations: 0 / 0.8381 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2144, allocations: 0 / 0.8381 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.2146, allocations: 85.06 kB / 0.8382 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.2146, allocations: 7.984 kB / 0.8382 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.2146, allocations: 0 / 0.8382 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.607e-05/0.2146, allocations: 0 / 0.8382 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.2147, allocations: 11.98 kB / 0.8382 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.2147, allocations: 0 / 0.8382 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.517e-05/0.2147, allocations: 79.28 kB / 0.8383 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2147, allocations: 4.094 kB / 0.8383 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002505/0.215, allocations: 43.88 kB / 0.8384 GB, free: 2.934 MB / 0.5762 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 (5): * Single equations (assignments): 5 * 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.0006156/0.2156, allocations: 0.6922 MB / 0.839 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.2157, allocations: 23.98 kB / 0.8391 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2157, allocations: 0 / 0.8391 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.2157, allocations: 19.94 kB / 0.8391 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.2159, allocations: 10.56 kB / 0.8391 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.2164, allocations: 176.4 kB / 0.8392 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.2165, allocations: 63.34 kB / 0.8393 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.955e-05/0.2165, allocations: 4 kB / 0.8393 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.2166, allocations: 19.42 kB / 0.8393 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.2166, allocations: 4 kB / 0.8393 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.2383, allocations: 2.248 MB / 0.8415 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.24, allocations: 13.86 kB / 0.8415 GB, free: 15.75 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.75865454308223] Failed to read output from testmodel.py, exit status != 0: 11.397994679980911 11.425098284 11.209935546 Calling exit ...