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.0007584/0.0007584, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007904/0.0007904, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8511/0.8511, allocations: 177.1 MB / 202.7 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001508/0.001508, allocations: 233.6 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6472/0.6472, allocations: 138.4 MB / 454.3 MB, free: 29.97 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6463 GB, free: 1.863 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.078e-05, allocations: 10.22 kB / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001578/0.001599, allocations: 1.29 MB / 0.6476 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003835/0.001982, allocations: 259.9 kB / 0.6478 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.002011, allocations: 0 / 0.6478 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.002029, allocations: 0 / 0.6478 GB, free: 300 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.002069, allocations: 15.86 kB / 0.6478 GB, free: 284 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.002326, allocations: 51.69 kB / 0.6479 GB, free: 232 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.002389, allocations: 11.94 kB / 0.6479 GB, free: 220 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.002427, allocations: 15.91 kB / 0.6479 GB, free: 204 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.002475, allocations: 8 kB / 0.6479 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.002516, allocations: 8 kB / 0.6479 GB, free: 188 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.002528, allocations: 0 / 0.6479 GB, free: 188 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.002617, allocations: 51.94 kB / 0.648 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.002627, allocations: 0 / 0.648 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.002644, allocations: 4 kB / 0.648 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.002759, allocations: 63.75 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002761, allocations: 0 / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.103e-06/0.002762, allocations: 0 / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.002767, allocations: 0 / 0.648 GB, free: 68 kB / 0.5573 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.2133/0.2161, allocations: 255.4 kB / 0.6483 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2161, allocations: 11.16 kB / 0.6483 GB, free: 57.18 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.54e-05/0.2161, allocations: 37.94 kB / 0.6483 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.2163, allocations: 19.19 kB / 0.6483 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.651e-05/0.2164, allocations: 106.7 kB / 0.6484 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2164, allocations: 2.156 kB / 0.6484 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.2164, allocations: 4.781 kB / 0.6484 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.2165, allocations: 69.86 kB / 0.6485 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.2165, allocations: 0.7188 kB / 0.6485 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.2165, allocations: 0.9688 kB / 0.6485 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2165, allocations: 4.125 kB / 0.6485 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.2165, allocations: 18.62 kB / 0.6485 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.813e-05/0.2166, allocations: 125.3 kB / 0.6487 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008901/0.2175, allocations: 267 kB / 0.6489 GB, free: 56.78 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.2176, allocations: 19.2 kB / 0.6489 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.2176, allocations: 1.594 kB / 0.6489 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.2176, allocations: 37.2 kB / 0.649 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.522e-06/0.2176, allocations: 0.625 kB / 0.649 GB, free: 56.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0001538/0.2177, allocations: 63.2 kB / 0.649 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.2178, allocations: 57.27 kB / 0.6491 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.072e-05/0.2178, allocations: 97.11 kB / 0.6492 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.2178, allocations: 26.45 kB / 0.6492 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-06/0.2178, allocations: 83.45 kB / 0.6493 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.2178, allocations: 17.59 kB / 0.6493 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.2179, allocations: 15.28 kB / 0.6493 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.859e-05/0.2179, allocations: 315.8 kB / 0.6496 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.2179, allocations: 9.25 kB / 0.6496 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/0.2179, allocations: 12.33 kB / 0.6496 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.218, allocations: 24.67 kB / 0.6497 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.218, allocations: 0 / 0.6497 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.518e-05/0.218, allocations: 54.62 kB / 0.6497 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.218, allocations: 7.781 kB / 0.6497 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.218, allocations: 0.9688 kB / 0.6497 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2181, allocations: 4.828 kB / 0.6497 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.261e-05/0.2181, allocations: 10.73 kB / 0.6497 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2181, allocations: 4.531 kB / 0.6497 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.2181, allocations: 2.438 kB / 0.6497 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.2181, allocations: 1.031 kB / 0.6497 GB, free: 56.04 MB / 0.5573 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 4.038e-05/0.2182, allocations: 119.4 kB / 0.6498 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-06/0.2182, allocations: 1 kB / 0.6498 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.2182, allocations: 9.281 kB / 0.6499 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2182, allocations: 0 / 0.6499 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.2182, allocations: 4.906 kB / 0.6499 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2182, allocations: 5.281 kB / 0.6499 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.512e-05/0.2183, allocations: 128.6 kB / 0.65 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2183, allocations: 0 / 0.65 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.2183, allocations: 7.906 kB / 0.65 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2183, allocations: 1 kB / 0.65 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2183, allocations: 0 / 0.65 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2183, allocations: 2 kB / 0.65 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2183, allocations: 3.938 kB / 0.65 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.573e-05/0.2184, allocations: 83.52 kB / 0.6501 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.2184, allocations: 6.672 kB / 0.6501 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.2184, allocations: 1.719 kB / 0.6501 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.955e-05/0.2184, allocations: 5.969 kB / 0.6501 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.2185, allocations: 7.906 kB / 0.6501 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2185, allocations: 1.406 kB / 0.6501 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.122e-05/0.2185, allocations: 77.66 kB / 0.6502 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2185, allocations: 0 / 0.6502 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001187/0.2186, allocations: 7.656 kB / 0.6502 GB, free: 55.62 MB / 0.5573 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.0001832/0.2188, allocations: 0.614 MB / 0.6508 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.924e-05/0.2189, allocations: 26.27 kB / 0.6508 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2189, allocations: 0 / 0.6508 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.2189, allocations: 16.59 kB / 0.6508 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.2191, allocations: 14.62 kB / 0.6508 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.2194, allocations: 145.5 kB / 0.651 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.063e-05/0.2194, allocations: 60.09 kB / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.2195, allocations: 6.328 kB / 0.651 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.2195, allocations: 10.69 kB / 0.6511 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/0.2195, allocations: 0 / 0.6511 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.233, allocations: 2.015 MB / 0.653 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.414/6.647, allocations: 9.5 kB / 0.653 GB, free: 54.04 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.185292118228972] Failed to read output from testmodel.py, exit status != 0: 6.724425652995706 6.732368392 6.727935529 Calling exit ...