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.001308/0.001308, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001918/0.001918, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.965 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.002496/0.002496, allocations: 284.5 kB / 312.7 MB, free: 2.781 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.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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_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.002844/0.002844, allocations: 104.7 kB / 0.7396 GB, free: 28.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1757, allocations: 95.38 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002571/0.1783, allocations: 1.29 MB / 0.834 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006222/0.1789, allocations: 303.4 kB / 0.8343 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.179, allocations: 0 / 0.8343 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.179, allocations: 0 / 0.8343 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.218e-05/0.179, allocations: 7.922 kB / 0.8343 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1793, allocations: 55.75 kB / 0.8343 GB, free: 7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.1794, allocations: 19.92 kB / 0.8344 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.1794, allocations: 0 / 0.8344 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.1795, allocations: 7.938 kB / 0.8344 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.1795, allocations: 7.984 kB / 0.8344 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.1795, allocations: 0 / 0.8344 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1797, allocations: 59.94 kB / 0.8344 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.1797, allocations: 4 kB / 0.8344 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.1797, allocations: 7.938 kB / 0.8344 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1799, allocations: 52.11 kB / 0.8345 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1799, allocations: 3.938 kB / 0.8345 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1799, allocations: 0 / 0.8345 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.1799, allocations: 0 / 0.8345 GB, free: 6.84 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.0003735/0.1803, allocations: 258.3 kB / 0.8347 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1803, allocations: 9.344 kB / 0.8348 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.1803, allocations: 38.75 kB / 0.8348 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.1805, allocations: 24.84 kB / 0.8348 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.1806, allocations: 110.5 kB / 0.8349 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.1806, allocations: 4.312 kB / 0.8349 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1806, allocations: 4.375 kB / 0.8349 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1808, allocations: 42.23 kB / 0.835 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1808, allocations: 3.938 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1808, allocations: 0 / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1808, allocations: 4 kB / 0.835 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.1808, allocations: 19.98 kB / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.181, allocations: 128.7 kB / 0.8351 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.1829, allocations: 266.4 kB / 0.8354 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.1829, allocations: 20.86 kB / 0.8354 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.1829, allocations: 4 kB / 0.8354 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1829, allocations: 34.56 kB / 0.8354 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1829, allocations: 0 / 0.8354 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001779/0.1831, allocations: 65.61 kB / 0.8355 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1832, allocations: 55.41 kB / 0.8355 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.1832, allocations: 89.86 kB / 0.8356 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1833, allocations: 25.7 kB / 0.8357 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.1833, allocations: 88.2 kB / 0.8357 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1833, allocations: 11.91 kB / 0.8358 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.1834, allocations: 17.72 kB / 0.8358 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.1835, allocations: 314.8 kB / 0.8361 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.1835, allocations: 8 kB / 0.8361 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.1835, allocations: 8 kB / 0.8361 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.1836, allocations: 32.78 kB / 0.8361 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1836, allocations: 0 / 0.8361 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.766e-05/0.1837, allocations: 49.7 kB / 0.8362 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1837, allocations: 13.97 kB / 0.8362 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1837, allocations: 0 / 0.8362 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.1837, allocations: 7.984 kB / 0.8362 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.1838, allocations: 7.938 kB / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1838, allocations: 0 / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.1838, allocations: 0 / 0.8362 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.1838, allocations: 0 / 0.8362 GB, free: 4.914 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 7.762e-05/0.1839, allocations: 114.5 kB / 0.8363 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.1839, allocations: 3.938 kB / 0.8363 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.1839, allocations: 11.53 kB / 0.8363 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1839, allocations: 4 kB / 0.8363 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1839, allocations: 0 / 0.8363 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.184, allocations: 4.312 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.1841, allocations: 124.7 kB / 0.8364 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1841, allocations: 3.938 kB / 0.8364 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.808e-05/0.1841, allocations: 11.98 kB / 0.8365 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1841, allocations: 7.922 kB / 0.8365 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1841, allocations: 0 / 0.8365 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1841, allocations: 0 / 0.8365 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1841, allocations: 4 kB / 0.8365 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.1843, allocations: 89.02 kB / 0.8366 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.1843, allocations: 4 kB / 0.8366 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1843, allocations: 3.938 kB / 0.8366 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.1844, allocations: 3.984 kB / 0.8366 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.1844, allocations: 4 kB / 0.8366 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1844, allocations: 0 / 0.8366 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.1844, allocations: 79.28 kB / 0.8366 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1844, allocations: 0 / 0.8366 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001805/0.1846, allocations: 12 kB / 0.8367 GB, free: 4.359 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.0004501/0.1851, allocations: 0.6163 MB / 0.8373 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1852, allocations: 16 kB / 0.8373 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1852, allocations: 8.031 kB / 0.8373 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.1852, allocations: 15.98 kB / 0.8373 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.1855, allocations: 4.688 kB / 0.8373 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.1859, allocations: 158.2 kB / 0.8375 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1863, allocations: 0.6768 MB / 0.8381 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.1863, allocations: 4 kB / 0.8381 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.1863, allocations: 7.438 kB / 0.8381 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1863, allocations: 4 kB / 0.8381 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.2118, allocations: 1.455 MB / 0.8395 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.54, allocations: 0 / 0.8395 GB, free: 1.445 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.804051450999395] Failed to read output from testmodel.py, exit status != 0: 10.644287795999844 10.661566486 10.478596364 Calling exit ...