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.001381/0.001381, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001435/0.001435, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002494/0.002494, allocations: 293.6 kB / 313.5 MB, free: 2.613 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.24/1.24, allocations: 180.6 MB / 0.5377 GB, free: 14.48 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.002868/0.002868, allocations: 95.77 kB / 0.7403 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1909, allocations: 95.39 MB / 0.8334 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002498/0.1934, allocations: 1.294 MB / 0.8347 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005821/0.194, allocations: 255.7 kB / 0.8349 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.194, allocations: 0 / 0.8349 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.194, allocations: 7.922 kB / 0.8349 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.477e-05/0.1941, allocations: 4 kB / 0.8349 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1944, allocations: 55.75 kB / 0.835 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.1945, allocations: 23.8 kB / 0.835 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1945, allocations: 0 / 0.835 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.1946, allocations: 8 kB / 0.835 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.1946, allocations: 7.984 kB / 0.835 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1946, allocations: 0 / 0.835 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1947, allocations: 55.95 kB / 0.8351 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1947, allocations: 7.922 kB / 0.8351 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.1948, allocations: 4 kB / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1949, allocations: 52.06 kB / 0.8351 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1949, allocations: 7.938 kB / 0.8351 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1949, allocations: 0 / 0.8351 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.486e-05/0.1949, allocations: 0 / 0.8351 GB, free: 6.527 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.0003821/0.1953, allocations: 262.3 kB / 0.8354 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1954, allocations: 13.34 kB / 0.8354 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.294e-05/0.1954, allocations: 192 / 0.8354 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.1954, allocations: 30.75 kB / 0.8354 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.1956, allocations: 16.92 kB / 0.8355 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.933e-05/0.1957, allocations: 110.5 kB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1957, allocations: 12.36 kB / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1958, allocations: 4.312 kB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1959, allocations: 71.7 kB / 0.8356 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1959, allocations: 0 / 0.8356 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-06/0.1959, allocations: 0 / 0.8356 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1959, allocations: 0 / 0.8356 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.196, allocations: 16 kB / 0.8357 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1961, allocations: 128.8 kB / 0.8358 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.198, allocations: 266.4 kB / 0.836 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.1981, allocations: 16.86 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.557e-06/0.1981, allocations: 0 / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1981, allocations: 42.48 kB / 0.8361 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1981, allocations: 0 / 0.8361 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001949/0.1983, allocations: 65.64 kB / 0.8362 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.1984, allocations: 51.41 kB / 0.8362 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.1984, allocations: 93.86 kB / 0.8363 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1984, allocations: 33.7 kB / 0.8363 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.1985, allocations: 84.08 kB / 0.8364 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1985, allocations: 11.84 kB / 0.8364 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.1985, allocations: 17.72 kB / 0.8364 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.1987, allocations: 314.8 kB / 0.8367 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.1987, allocations: 8 kB / 0.8367 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.814e-05/0.1987, allocations: 8.188 kB / 0.8367 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.254e-05/0.1988, allocations: 28.92 kB / 0.8368 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1988, allocations: 4 kB / 0.8368 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.028e-05/0.1989, allocations: 49.83 kB / 0.8368 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1989, allocations: 11.94 kB / 0.8368 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1989, allocations: 3.984 kB / 0.8368 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1989, allocations: 0 / 0.8368 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.199, allocations: 11.94 kB / 0.8369 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.199, allocations: 0 / 0.8369 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.199, allocations: 4 kB / 0.8369 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.199, allocations: 0 / 0.8369 GB, free: 4.57 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.263e-05/0.1991, allocations: 110.4 kB / 0.837 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.1991, allocations: 7.938 kB / 0.837 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.1992, allocations: 11.53 kB / 0.837 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1992, allocations: 0 / 0.837 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1992, allocations: 0 / 0.837 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1992, allocations: 3.984 kB / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1993, allocations: 128.7 kB / 0.8371 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1993, allocations: 0 / 0.8371 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.1993, allocations: 8 kB / 0.8371 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1993, allocations: 3.938 kB / 0.8371 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1994, allocations: 4 kB / 0.8371 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1994, allocations: 0 / 0.8371 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1994, allocations: 7.984 kB / 0.8371 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.1995, allocations: 85.02 kB / 0.8372 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.1995, allocations: 3.938 kB / 0.8372 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1995, allocations: 4 kB / 0.8372 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.1996, allocations: 4 kB / 0.8372 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.1996, allocations: 3.984 kB / 0.8372 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1996, allocations: 7.938 kB / 0.8372 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.1997, allocations: 75.28 kB / 0.8373 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1997, allocations: 0 / 0.8373 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001849/0.1998, allocations: 8 kB / 0.8373 GB, free: 4.023 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.0004243/0.2003, allocations: 0.6164 MB / 0.8379 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.2004, allocations: 23.98 kB / 0.8379 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2004, allocations: 0 / 0.8379 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.129e-05/0.2004, allocations: 8 kB / 0.8379 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.2007, allocations: 18.56 kB / 0.838 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.2011, allocations: 150.2 kB / 0.8381 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.2012, allocations: 67.34 kB / 0.8382 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.002e-05/0.2012, allocations: 336 / 0.8382 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.2013, allocations: 11.42 kB / 0.8382 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2013, allocations: 4 kB / 0.8382 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.2205, allocations: 1.554 MB / 0.8397 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.21, allocations: 5.875 kB / 0.8397 GB, free: 1.645 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.543329240987077] Failed to read output from testmodel.py, exit status != 0: 11.365974872023799 11.381440745 11.18362863 Calling exit ...