Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.001762/0.001762, allocations: 110.5 kB / 16.46 MB, free: 6.453 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.002208/0.002208, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00252/0.00252, allocations: 290.6 kB / 309.1 MB, free: 3.938 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.223/1.223, allocations: 180.9 MB / 0.5333 GB, free: 13.86 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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.002878/0.002878, allocations: 109 kB / 0.7342 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1786, allocations: 95.34 MB / 0.8274 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002497/0.1811, allocations: 1.294 MB / 0.8286 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006427/0.1817, allocations: 299.4 kB / 0.8289 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.1817, allocations: 4 kB / 0.8289 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.1818, allocations: 0 / 0.8289 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.1818, allocations: 3.938 kB / 0.8289 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1821, allocations: 55.73 kB / 0.829 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.1822, allocations: 15.88 kB / 0.829 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.1822, allocations: 8 kB / 0.829 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.1822, allocations: 4 kB / 0.829 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.1823, allocations: 7.984 kB / 0.829 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.1823, allocations: 0 / 0.829 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1824, allocations: 51.95 kB / 0.829 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.1824, allocations: 3.938 kB / 0.829 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.1825, allocations: 11.98 kB / 0.8291 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1826, allocations: 56.05 kB / 0.8291 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1826, allocations: 0 / 0.8291 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.395e-06/0.1826, allocations: 4 kB / 0.8291 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.1826, allocations: 0 / 0.8291 GB, free: 8.059 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.0004271/0.183, allocations: 335.4 kB / 0.8294 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1831, allocations: 8.031 kB / 0.8294 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.1831, allocations: 34.69 kB / 0.8295 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.1833, allocations: 20.91 kB / 0.8295 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1835, allocations: 164.4 kB / 0.8297 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1835, allocations: 4.375 kB / 0.8297 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.1835, allocations: 4.375 kB / 0.8297 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1836, allocations: 38.25 kB / 0.8297 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1836, allocations: 11.92 kB / 0.8297 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1836, allocations: 0 / 0.8297 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1836, allocations: 0 / 0.8297 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.1837, allocations: 15.98 kB / 0.8297 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.1838, allocations: 161.7 kB / 0.8299 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.1858, allocations: 270.3 kB / 0.8301 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.1858, allocations: 12.86 kB / 0.8302 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.1859, allocations: 8 kB / 0.8302 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1859, allocations: 30.56 kB / 0.8302 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1859, allocations: 0 / 0.8302 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.000177/0.1861, allocations: 69.56 kB / 0.8303 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1861, allocations: 51.41 kB / 0.8303 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.1862, allocations: 93.84 kB / 0.8304 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1862, allocations: 29.64 kB / 0.8304 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.1862, allocations: 92.25 kB / 0.8305 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1863, allocations: 15.84 kB / 0.8305 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.1863, allocations: 13.72 kB / 0.8305 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1864, allocations: 314.8 kB / 0.8308 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.1865, allocations: 7.984 kB / 0.8308 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.1865, allocations: 8 kB / 0.8309 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.095e-05/0.1865, allocations: 24.86 kB / 0.8309 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1865, allocations: 0 / 0.8309 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.715e-05/0.1866, allocations: 61.62 kB / 0.8309 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1866, allocations: 7.938 kB / 0.8309 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1867, allocations: 0 / 0.8309 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1867, allocations: 4 kB / 0.8309 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.813e-05/0.1867, allocations: 4 kB / 0.8309 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1867, allocations: 3.984 kB / 0.831 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.1868, allocations: 0 / 0.831 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1868, allocations: 8 kB / 0.831 GB, free: 5.934 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 8.596e-05/0.1869, allocations: 105.8 kB / 0.8311 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.1869, allocations: 7.938 kB / 0.8311 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.1869, allocations: 7.5 kB / 0.8311 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1869, allocations: 4 kB / 0.8311 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1869, allocations: 0 / 0.8311 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1869, allocations: 0 / 0.8311 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.187, allocations: 161.9 kB / 0.8312 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.187, allocations: 0 / 0.8312 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.1871, allocations: 8 kB / 0.8312 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1871, allocations: 3.938 kB / 0.8312 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1871, allocations: 3.984 kB / 0.8313 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1871, allocations: 3.938 kB / 0.8313 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1871, allocations: 4 kB / 0.8313 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1872, allocations: 85.06 kB / 0.8313 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.1873, allocations: 81.11 kB / 0.8314 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.1873, allocations: 3.938 kB / 0.8314 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.1874, allocations: 0 / 0.8314 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1874, allocations: 7.922 kB / 0.8314 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1874, allocations: 4 kB / 0.8314 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.1874, allocations: 83.28 kB / 0.8315 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1874, allocations: 0 / 0.8315 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001845/0.1876, allocations: 8 kB / 0.8315 GB, free: 5.266 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 (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 Backend phase and start with SimCode phase: time 0.000448/0.1881, allocations: 0.6124 MB / 0.8321 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1882, allocations: 23.98 kB / 0.8321 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1882, allocations: 4.094 kB / 0.8321 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.1882, allocations: 19.88 kB / 0.8322 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1885, allocations: 11.98 kB / 0.8322 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.189, allocations: 148.4 kB / 0.8323 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1893, allocations: 0.6768 MB / 0.833 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.1893, allocations: 4 kB / 0.833 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.1894, allocations: 11.44 kB / 0.833 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.1894, allocations: 0 / 0.833 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.2114, allocations: 1.348 MB / 0.8343 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.325, allocations: 8.594 kB / 0.8343 GB, free: 2.453 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X_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_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.615510947071016] Failed to read output from testmodel.py, exit status != 0: 8.394317743368447 8.419096619 8.231900516 Calling exit ...