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.001249/0.001249, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001349/0.001349, allocations: 214.8 kB / 23.04 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.002421/0.002421, allocations: 290.8 kB / 313.5 MB, free: 2.797 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.246/1.246, allocations: 180.6 MB / 0.5377 GB, free: 13.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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.002739/0.002739, allocations: 99.52 kB / 0.7403 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1789, allocations: 95.39 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002362/0.1813, allocations: 1.286 MB / 0.8348 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005921/0.1819, allocations: 315.3 kB / 0.8351 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.1819, allocations: 0 / 0.8351 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1819, allocations: 0 / 0.8351 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/0.182, allocations: 7.922 kB / 0.8351 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.1822, allocations: 47.75 kB / 0.8351 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.392e-05/0.1823, allocations: 23.88 kB / 0.8351 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.1823, allocations: 4 kB / 0.8351 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.1824, allocations: 7.984 kB / 0.8351 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.1824, allocations: 11.98 kB / 0.8352 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.1824, allocations: 0 / 0.8352 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1826, allocations: 51.95 kB / 0.8352 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.1826, allocations: 3.938 kB / 0.8352 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1826, allocations: 4 kB / 0.8352 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1827, allocations: 60.03 kB / 0.8353 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1827, allocations: 0 / 0.8353 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1827, allocations: 4 kB / 0.8353 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.1827, allocations: 4 kB / 0.8353 GB, free: 6.82 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.0003539/0.1831, allocations: 258.3 kB / 0.8355 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1831, allocations: 9.344 kB / 0.8355 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.296e-05/0.1831, allocations: 192 / 0.8355 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.1832, allocations: 34.75 kB / 0.8356 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.1834, allocations: 16.91 kB / 0.8356 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.978e-05/0.1834, allocations: 110.5 kB / 0.8357 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1835, allocations: 4.375 kB / 0.8357 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1835, allocations: 4.375 kB / 0.8357 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1836, allocations: 46 kB / 0.8357 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1836, allocations: 0 / 0.8357 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1836, allocations: 0 / 0.8357 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1836, allocations: 0 / 0.8357 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.703e-05/0.1837, allocations: 19.98 kB / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1838, allocations: 128.7 kB / 0.8359 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.1856, allocations: 270.4 kB / 0.8361 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.1857, allocations: 20.84 kB / 0.8362 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.1857, allocations: 0 / 0.8362 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1857, allocations: 42.5 kB / 0.8362 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1857, allocations: 0 / 0.8362 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001528/0.1858, allocations: 57.69 kB / 0.8363 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1859, allocations: 59.34 kB / 0.8363 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/0.1859, allocations: 89.86 kB / 0.8364 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.186, allocations: 29.69 kB / 0.8364 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.186, allocations: 84.08 kB / 0.8365 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.186, allocations: 23.97 kB / 0.8365 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.1861, allocations: 13.72 kB / 0.8365 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1862, allocations: 314.8 kB / 0.8368 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.1862, allocations: 7.984 kB / 0.8369 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.1862, allocations: 8 kB / 0.8369 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.859e-05/0.1863, allocations: 25.14 kB / 0.8369 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1863, allocations: 0 / 0.8369 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.823e-05/0.1864, allocations: 61.61 kB / 0.8369 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1864, allocations: 7.938 kB / 0.8369 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1864, allocations: 4 kB / 0.837 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1864, allocations: 0 / 0.837 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.523e-05/0.1865, allocations: 8 kB / 0.837 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1865, allocations: 0 / 0.837 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.1865, allocations: 3.984 kB / 0.837 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.1865, allocations: 0 / 0.837 GB, free: 4.898 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.069e-05/0.1866, allocations: 114.5 kB / 0.8371 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.1866, allocations: 3.938 kB / 0.8371 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.1866, allocations: 7.531 kB / 0.8371 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1866, allocations: 4 kB / 0.8371 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1866, allocations: 0 / 0.8371 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1866, allocations: 4 kB / 0.8371 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.1867, allocations: 132.7 kB / 0.8372 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1867, allocations: 0 / 0.8372 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.1868, allocations: 4 kB / 0.8372 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1868, allocations: 3.938 kB / 0.8372 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1868, allocations: 4 kB / 0.8372 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1868, allocations: 0 / 0.8372 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1868, allocations: 0 / 0.8372 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1869, allocations: 93 kB / 0.8373 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.1869, allocations: 7.938 kB / 0.8373 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.1869, allocations: 0 / 0.8373 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.187, allocations: 0 / 0.8373 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.187, allocations: 3.984 kB / 0.8373 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.187, allocations: 15.94 kB / 0.8373 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.1871, allocations: 75.28 kB / 0.8374 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1871, allocations: 4.094 kB / 0.8374 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001773/0.1872, allocations: 4 kB / 0.8374 GB, free: 4.348 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.0004133/0.1877, allocations: 0.6124 MB / 0.838 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.984e-05/0.1878, allocations: 23.98 kB / 0.838 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1878, allocations: 0 / 0.838 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.1878, allocations: 19.94 kB / 0.8381 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.188, allocations: 12.67 kB / 0.8381 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.1885, allocations: 156.4 kB / 0.8382 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1888, allocations: 0.6729 MB / 0.8389 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.1888, allocations: 7.984 kB / 0.8389 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.1889, allocations: 11.44 kB / 0.8389 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1889, allocations: 0 / 0.8389 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.2078, allocations: 1.471 MB / 0.8403 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.04, allocations: 12.64 kB / 0.8403 GB, free: 1.418 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.3603032840183] Failed to read output from testmodel.py, exit status != 0: 11.200957878958434 11.227698853 11.040256291 Calling exit ...