Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.00139/0.00139, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001461/0.001461, allocations: 210.3 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.002632/0.002632, allocations: 290.9 kB / 313.5 MB, free: 2.789 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.212/1.212, allocations: 180.6 MB / 0.5377 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.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.002834/0.002834, allocations: 101.8 kB / 0.7404 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1842, allocations: 95.39 MB / 0.8335 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002339/0.1866, allocations: 1.302 MB / 0.8348 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1879, allocations: 0.8358 MB / 0.8356 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.681e-05/0.1879, allocations: 0 / 0.8356 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.1879, allocations: 11.92 kB / 0.8356 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.1879, allocations: 7.938 kB / 0.8356 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.1884, allocations: 119.5 kB / 0.8357 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.645e-05/0.1885, allocations: 31.84 kB / 0.8358 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.1885, allocations: 8 kB / 0.8358 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.1885, allocations: 15.92 kB / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.1886, allocations: 4 kB / 0.8358 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1886, allocations: 7.938 kB / 0.8358 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.1889, allocations: 179.7 kB / 0.836 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.1889, allocations: 3.938 kB / 0.836 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.189, allocations: 12 kB / 0.836 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1892, allocations: 123.9 kB / 0.8361 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1892, allocations: 0 / 0.8361 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1892, allocations: 0 / 0.8361 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.1892, allocations: 4 kB / 0.8361 GB, free: 5.926 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.0004136/0.1896, allocations: 286 kB / 0.8364 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1896, allocations: 9.344 kB / 0.8364 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.136e-05/0.1897, allocations: 4.188 kB / 0.8364 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.1897, allocations: 34.75 kB / 0.8364 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1897, allocations: 8.891 kB / 0.8364 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.399e-05/0.1898, allocations: 110.5 kB / 0.8365 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/0.1899, allocations: 59.89 kB / 0.8366 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.1899, allocations: 4.375 kB / 0.8366 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.19, allocations: 45.81 kB / 0.8366 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.19, allocations: 0 / 0.8366 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.19, allocations: 0 / 0.8366 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1901, allocations: 4 kB / 0.8366 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.1901, allocations: 23.97 kB / 0.8367 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.1903, allocations: 128.8 kB / 0.8368 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1905, allocations: 46.55 kB / 0.8368 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.025e-05/0.1905, allocations: 16.94 kB / 0.8368 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.1907, allocations: 27.97 kB / 0.8369 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1908, allocations: 34.5 kB / 0.8369 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1908, allocations: 4 kB / 0.8369 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002297/0.191, allocations: 61.67 kB / 0.837 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.191, allocations: 55.41 kB / 0.837 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.1911, allocations: 93.86 kB / 0.8371 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1911, allocations: 33.7 kB / 0.8371 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.1912, allocations: 80.14 kB / 0.8372 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1912, allocations: 11.89 kB / 0.8372 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.1912, allocations: 21.66 kB / 0.8373 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1914, allocations: 310.8 kB / 0.8376 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.1914, allocations: 19.98 kB / 0.8376 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.1915, allocations: 4 kB / 0.8376 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.381e-05/0.1915, allocations: 32.84 kB / 0.8376 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1915, allocations: 4 kB / 0.8376 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001335/0.1917, allocations: 57.58 kB / 0.8377 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1917, allocations: 11.92 kB / 0.8377 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1917, allocations: 3.938 kB / 0.8377 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1917, allocations: 4 kB / 0.8377 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/0.1918, allocations: 7.938 kB / 0.8377 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1918, allocations: 0 / 0.8377 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.1918, allocations: 4 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1918, allocations: 8 kB / 0.8377 GB, free: 4.078 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.888e-05/0.1919, allocations: 110.5 kB / 0.8378 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.1919, allocations: 7.938 kB / 0.8378 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.1921, allocations: 65.34 kB / 0.8379 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1921, allocations: 4 kB / 0.8379 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1921, allocations: 0 / 0.8379 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1921, allocations: 0.5625 kB / 0.8379 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.1922, allocations: 132.7 kB / 0.838 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1922, allocations: 4 kB / 0.838 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.1922, allocations: 15.88 kB / 0.838 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1922, allocations: 0 / 0.838 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1923, allocations: 4 kB / 0.838 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1923, allocations: 0 / 0.838 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1923, allocations: 7.984 kB / 0.838 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1924, allocations: 81.06 kB / 0.8381 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.1924, allocations: 15.92 kB / 0.8381 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1925, allocations: 0 / 0.8381 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.1925, allocations: 4 kB / 0.8381 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1925, allocations: 3.984 kB / 0.8381 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.1925, allocations: 8 kB / 0.8381 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.1926, allocations: 75.28 kB / 0.8382 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1926, allocations: 0 / 0.8382 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002267/0.1928, allocations: 31.88 kB / 0.8382 GB, free: 3.434 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.0005617/0.1934, allocations: 0.6629 MB / 0.8389 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.1935, allocations: 23.98 kB / 0.8389 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.1935, allocations: 4 kB / 0.8389 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.648e-05/0.1936, allocations: 19.92 kB / 0.8389 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.1938, allocations: 8 kB / 0.8389 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.1942, allocations: 169.1 kB / 0.8391 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1945, allocations: 0.6768 MB / 0.8398 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.1945, allocations: 8 kB / 0.8398 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.1945, allocations: 11.44 kB / 0.8398 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1945, allocations: 0 / 0.8398 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.2161, allocations: 2.156 MB / 0.8419 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.02, allocations: 4.062 kB / 0.8419 GB, free: 15.75 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.253510501002893] Failed to read output from testmodel.py, exit status != 0: 11.18168198800413 11.198580325 11.00613885 Calling exit ...