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.001831/0.001831, 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.002264/0.002264, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.992 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.002497/0.002497, allocations: 281.3 kB / 312.7 MB, free: 2.793 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.254/1.254, 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_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.002822/0.002822, allocations: 100.6 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1736, allocations: 95.39 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002476/0.1761, allocations: 1.288 MB / 0.834 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005827/0.1767, allocations: 307.4 kB / 0.8343 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.1767, allocations: 0 / 0.8343 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1767, allocations: 0 / 0.8343 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.348e-05/0.1768, allocations: 7.922 kB / 0.8343 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.177, allocations: 47.77 kB / 0.8343 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.1771, allocations: 27.86 kB / 0.8344 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.1771, allocations: 3.984 kB / 0.8344 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.1772, allocations: 4 kB / 0.8344 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.1772, allocations: 8 kB / 0.8344 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.1773, allocations: 0 / 0.8344 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1774, allocations: 55.94 kB / 0.8344 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.1774, allocations: 7.938 kB / 0.8344 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.1774, allocations: 7.938 kB / 0.8345 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1776, allocations: 52.05 kB / 0.8345 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1776, allocations: 0 / 0.8345 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1776, allocations: 0 / 0.8345 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1776, allocations: 4 kB / 0.8345 GB, free: 6.812 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.000375/0.178, allocations: 258.3 kB / 0.8348 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.178, allocations: 13.34 kB / 0.8348 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.178, allocations: 38.73 kB / 0.8348 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.1782, allocations: 20.86 kB / 0.8348 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.75e-05/0.1783, allocations: 102.5 kB / 0.8349 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.1784, allocations: 384 / 0.8349 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1784, allocations: 8.375 kB / 0.8349 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1785, allocations: 38.25 kB / 0.835 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1785, allocations: 3.938 kB / 0.835 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1785, allocations: 8 kB / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1785, allocations: 0 / 0.835 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.1786, allocations: 15.98 kB / 0.835 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.1787, allocations: 128.7 kB / 0.8351 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.1807, allocations: 266.4 kB / 0.8354 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.1807, allocations: 20.86 kB / 0.8354 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1807, allocations: 3.984 kB / 0.8354 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.1808, allocations: 38.56 kB / 0.8354 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1808, allocations: 0 / 0.8354 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002195/0.181, allocations: 73.73 kB / 0.8355 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.1811, allocations: 51.41 kB / 0.8355 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.1811, allocations: 89.86 kB / 0.8356 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1812, allocations: 25.7 kB / 0.8357 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.1812, allocations: 84.08 kB / 0.8357 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1812, allocations: 15.91 kB / 0.8358 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.1813, allocations: 21.83 kB / 0.8358 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1814, allocations: 310.8 kB / 0.8361 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.599e-05/0.1815, allocations: 8 kB / 0.8361 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.1815, allocations: 12 kB / 0.8361 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.1816, allocations: 28.84 kB / 0.8361 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1816, allocations: 0 / 0.8361 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001118/0.1817, allocations: 57.62 kB / 0.8362 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1817, allocations: 7.938 kB / 0.8362 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1817, allocations: 0 / 0.8362 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.1817, allocations: 4 kB / 0.8362 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.1818, allocations: 8 kB / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1818, allocations: 0 / 0.8362 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.1818, allocations: 3.938 kB / 0.8362 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1818, allocations: 4 kB / 0.8362 GB, free: 4.883 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.0001032/0.1819, allocations: 110.5 kB / 0.8363 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.182, allocations: 3.938 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.182, allocations: 7.531 kB / 0.8363 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.182, allocations: 7.984 kB / 0.8363 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.182, allocations: 4 kB / 0.8363 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.182, allocations: 0 / 0.8363 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1822, allocations: 132.7 kB / 0.8365 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1822, allocations: 0 / 0.8365 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.1822, allocations: 8 kB / 0.8365 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.1822, allocations: 3.938 kB / 0.8365 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1822, allocations: 0 / 0.8365 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1822, allocations: 0 / 0.8365 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1822, allocations: 3.938 kB / 0.8365 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1824, allocations: 85.08 kB / 0.8365 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.1824, allocations: 4 kB / 0.8366 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1824, allocations: 7.922 kB / 0.8366 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.1825, allocations: 0 / 0.8366 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.1825, allocations: 4 kB / 0.8366 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1825, allocations: 3.938 kB / 0.8366 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.1826, allocations: 75.28 kB / 0.8366 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1826, allocations: 0 / 0.8366 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002219/0.1828, allocations: 12 kB / 0.8366 GB, free: 4.34 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.0004666/0.1833, allocations: 0.6203 MB / 0.8373 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.1834, allocations: 16 kB / 0.8373 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1834, allocations: 0 / 0.8373 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.1834, allocations: 20.25 kB / 0.8373 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1837, allocations: 11.98 kB / 0.8373 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.1843, allocations: 146.3 kB / 0.8374 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1846, allocations: 0.6768 MB / 0.8381 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.1846, allocations: 7.984 kB / 0.8381 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.1847, allocations: 15.44 kB / 0.8381 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.1847, allocations: 0 / 0.8381 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.2109, allocations: 1.454 MB / 0.8395 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.11, allocations: 13.31 kB / 0.8396 GB, free: 1.41 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.334233611822128] Failed to read output from testmodel.py, exit status != 0: 11.20966798486188 11.228205694 11.047620421 Calling exit ...