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.001408/0.001408, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001497/0.001497, allocations: 216.4 kB / 22.25 MB, free: 5.113 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 8.02 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.002538/0.002538, allocations: 282.6 kB / 312.7 MB, free: 2.812 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.232/1.232, allocations: 180.6 MB / 0.5369 GB, free: 13.04 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.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.002916/0.002916, allocations: 101.8 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1954, allocations: 95.39 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002878/0.1982, allocations: 1.302 MB / 0.834 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1999, allocations: 0.937 MB / 0.8349 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.1999, allocations: 0 / 0.8349 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.1999, allocations: 11.94 kB / 0.8349 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.085e-05/0.2, allocations: 0 / 0.8349 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007572/0.2008, allocations: 204 kB / 0.8351 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.2008, allocations: 23.81 kB / 0.8352 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.2009, allocations: 7.984 kB / 0.8352 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.292e-05/0.2009, allocations: 4 kB / 0.8352 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.201, allocations: 11.98 kB / 0.8352 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.201, allocations: 4 kB / 0.8352 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.2015, allocations: 243.7 kB / 0.8354 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.2015, allocations: 3.938 kB / 0.8354 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.2015, allocations: 11.98 kB / 0.8354 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.2018, allocations: 155.6 kB / 0.8356 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2018, allocations: 0 / 0.8356 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2018, allocations: 0 / 0.8356 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.2019, allocations: 0 / 0.8356 GB, free: 5.723 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.0007072/0.2026, allocations: 282.1 kB / 0.8358 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.209e-05/0.2026, allocations: 13.34 kB / 0.8359 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.2027, allocations: 42.69 kB / 0.8359 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.203, allocations: 16.92 kB / 0.8359 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2031, allocations: 106.5 kB / 0.836 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2031, allocations: 384 / 0.836 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.2032, allocations: 7.938 kB / 0.836 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.2033, allocations: 41.67 kB / 0.8361 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2033, allocations: 4 kB / 0.8361 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2033, allocations: 0 / 0.8361 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2033, allocations: 4 kB / 0.8361 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.2034, allocations: 15.98 kB / 0.8361 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.2036, allocations: 136.7 kB / 0.8362 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009282/0.2046, allocations: 134.4 kB / 0.8363 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.2046, allocations: 20.86 kB / 0.8364 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.2047, allocations: 11.97 kB / 0.8364 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.2047, allocations: 30.56 kB / 0.8364 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2047, allocations: 0 / 0.8364 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002048/0.2049, allocations: 73.55 kB / 0.8365 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.205, allocations: 55.41 kB / 0.8365 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.2051, allocations: 89.86 kB / 0.8366 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2051, allocations: 29.83 kB / 0.8366 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.2051, allocations: 84.12 kB / 0.8367 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.2051, allocations: 15.91 kB / 0.8367 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2052, allocations: 13.72 kB / 0.8367 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2053, allocations: 314.8 kB / 0.837 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.2053, allocations: 7.984 kB / 0.8371 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.2054, allocations: 8 kB / 0.8371 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.2054, allocations: 32.84 kB / 0.8371 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2054, allocations: 4 kB / 0.8371 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.387e-05/0.2055, allocations: 61.56 kB / 0.8372 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2055, allocations: 4 kB / 0.8372 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2055, allocations: 0 / 0.8372 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2056, allocations: 0 / 0.8372 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/0.2056, allocations: 8 kB / 0.8372 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2056, allocations: 0 / 0.8372 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.2056, allocations: 0 / 0.8372 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.2057, allocations: 4 kB / 0.8372 GB, free: 3.891 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 9.313e-05/0.2057, allocations: 118.4 kB / 0.8373 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.2058, allocations: 4 kB / 0.8373 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.2061, allocations: 81.08 kB / 0.8374 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2061, allocations: 0 / 0.8374 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2061, allocations: 0 / 0.8374 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2061, allocations: 0 / 0.8374 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.2062, allocations: 144.6 kB / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2062, allocations: 0 / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.2063, allocations: 12 kB / 0.8375 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.2063, allocations: 3.984 kB / 0.8375 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2063, allocations: 0 / 0.8375 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2063, allocations: 0 / 0.8375 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2063, allocations: 0 / 0.8375 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.2064, allocations: 85.06 kB / 0.8376 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.2064, allocations: 8 kB / 0.8376 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.2064, allocations: 0 / 0.8376 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.2065, allocations: 3.938 kB / 0.8376 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.2065, allocations: 12.11 kB / 0.8376 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.2065, allocations: 4 kB / 0.8376 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.2066, allocations: 79.28 kB / 0.8377 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2066, allocations: 0 / 0.8377 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002663/0.2068, allocations: 47.86 kB / 0.8378 GB, free: 3.215 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.0006626/0.2075, allocations: 0.6826 MB / 0.8384 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.2076, allocations: 31.92 kB / 0.8384 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2076, allocations: 0 / 0.8384 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/0.2076, allocations: 12 kB / 0.8385 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.2078, allocations: 11.92 kB / 0.8385 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.2084, allocations: 168.5 kB / 0.8386 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.2088, allocations: 0.6806 MB / 0.8393 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.2089, allocations: 20.38 kB / 0.8393 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.2089, allocations: 19.38 kB / 0.8393 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2089, allocations: 0 / 0.8393 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.2355, allocations: 2.144 MB / 0.8414 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.59, allocations: 9.875 kB / 0.8414 GB, free: 15.48 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 14.88256254099906] Failed to read output from testmodel.py, exit status != 0: 10.688081231997785 10.709517035 10.503704948 Calling exit ...