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.0007057/0.0007057, 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.0007499/0.0007499, allocations: 165.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.8429/0.8429, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.001479/0.001479, allocations: 240.8 kB / 259.4 MB, free: 13.04 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.6578/0.6578, allocations: 138.4 MB / 454.3 MB, free: 29.96 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.533e-06/1.533e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.847e-05, allocations: 5.234 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00158/0.001599, allocations: 1.286 MB / 0.6476 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003883/0.001987, allocations: 267.9 kB / 0.6478 GB, free: 320 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.00201, allocations: 0 / 0.6478 GB, free: 320 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.002027, allocations: 7.984 kB / 0.6478 GB, free: 312 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.002063, allocations: 3.938 kB / 0.6478 GB, free: 308 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.002326, allocations: 51.62 kB / 0.6479 GB, free: 256 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.879e-05/0.002385, allocations: 19.92 kB / 0.6479 GB, free: 236 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.002421, allocations: 11.94 kB / 0.6479 GB, free: 224 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.002468, allocations: 7.984 kB / 0.6479 GB, free: 216 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.00251, allocations: 4 kB / 0.6479 GB, free: 212 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.002522, allocations: 0 / 0.6479 GB, free: 212 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-05/0.002608, allocations: 51.94 kB / 0.648 GB, free: 160 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.002622, allocations: 4 kB / 0.648 GB, free: 156 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.002638, allocations: 7.984 kB / 0.648 GB, free: 148 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.002759, allocations: 63.75 kB / 0.648 GB, free: 84 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.002761, allocations: 0 / 0.648 GB, free: 84 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.002763, allocations: 0 / 0.648 GB, free: 84 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.002767, allocations: 0 / 0.648 GB, free: 84 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.2269/0.2297, allocations: 255.7 kB / 0.6483 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.2298, allocations: 12.47 kB / 0.6483 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.2298, allocations: 32.45 kB / 0.6483 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.2299, allocations: 19.98 kB / 0.6483 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.01e-05/0.23, allocations: 108.2 kB / 0.6484 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.23, allocations: 384 / 0.6484 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.23, allocations: 4.656 kB / 0.6484 GB, free: 56.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2301, allocations: 67.94 kB / 0.6485 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.2301, allocations: 0.9062 kB / 0.6485 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.2301, allocations: 6 kB / 0.6485 GB, free: 56.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2301, allocations: 4.125 kB / 0.6485 GB, free: 56.83 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.326e-05/0.2302, allocations: 14.16 kB / 0.6485 GB, free: 56.83 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.2303, allocations: 125.4 kB / 0.6487 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.2312, allocations: 267.7 kB / 0.6489 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.2312, allocations: 19.83 kB / 0.6489 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2312, allocations: 1.578 kB / 0.6489 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.2313, allocations: 32.94 kB / 0.649 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.2313, allocations: 3.641 kB / 0.649 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0001578/0.2314, allocations: 63.25 kB / 0.649 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.2314, allocations: 56.62 kB / 0.6491 GB, free: 56.51 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.127e-05/0.2315, allocations: 99.28 kB / 0.6492 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.2315, allocations: 26.27 kB / 0.6492 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.157e-06/0.2315, allocations: 86.17 kB / 0.6493 GB, free: 56.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.2315, allocations: 13.97 kB / 0.6493 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.2315, allocations: 17.62 kB / 0.6493 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.22e-05/0.2316, allocations: 313.8 kB / 0.6496 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.2316, allocations: 8.234 kB / 0.6496 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.2316, allocations: 12.28 kB / 0.6496 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.2317, allocations: 25.8 kB / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2317, allocations: 0 / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.59e-05/0.2317, allocations: 54.23 kB / 0.6497 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2317, allocations: 5.672 kB / 0.6497 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2317, allocations: 0 / 0.6497 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2317, allocations: 2.531 kB / 0.6497 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.2318, allocations: 11 kB / 0.6497 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2318, allocations: 0.7656 kB / 0.6497 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.2318, allocations: 7.094 kB / 0.6497 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.2318, allocations: 1.5 kB / 0.6497 GB, free: 55.92 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 3.661e-05/0.2319, allocations: 113.9 kB / 0.6498 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.2319, allocations: 2.625 kB / 0.6498 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.2319, allocations: 11.92 kB / 0.6499 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2319, allocations: 0.875 kB / 0.6499 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2319, allocations: 8.422 kB / 0.6499 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2319, allocations: 0.5625 kB / 0.6499 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.227e-05/0.2319, allocations: 124.4 kB / 0.65 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2319, allocations: 5.844 kB / 0.65 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.232, allocations: 7.703 kB / 0.65 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.232, allocations: 3.938 kB / 0.65 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.232, allocations: 1.406 kB / 0.65 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.232, allocations: 0 / 0.65 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.232, allocations: 3.938 kB / 0.65 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.827e-05/0.232, allocations: 85.14 kB / 0.6501 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.2321, allocations: 6.859 kB / 0.6501 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.2321, allocations: 1.453 kB / 0.6501 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-05/0.2321, allocations: 2.391 kB / 0.6501 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.2321, allocations: 7.172 kB / 0.6501 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2321, allocations: 1.156 kB / 0.6501 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.165e-05/0.2322, allocations: 77.77 kB / 0.6502 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2322, allocations: 3.188 kB / 0.6502 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001213/0.2323, allocations: 9.453 kB / 0.6502 GB, free: 55.5 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.0001752/0.2324, allocations: 0.6131 MB / 0.6508 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.934e-05/0.2325, allocations: 25.17 kB / 0.6508 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2325, allocations: 0.7812 kB / 0.6508 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.2325, allocations: 15.41 kB / 0.6508 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2328, allocations: 17.08 kB / 0.6508 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.2331, allocations: 141.9 kB / 0.651 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.026e-05/0.2331, allocations: 59.95 kB / 0.651 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.2332, allocations: 4.766 kB / 0.651 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.2332, allocations: 10.34 kB / 0.6511 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/0.2332, allocations: 0 / 0.6511 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.2458, allocations: 2.016 MB / 0.653 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.355/6.6, allocations: 11.12 kB / 0.653 GB, free: 53.92 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 & /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: 9.055986202321947] Failed to read output from testmodel.py, exit status != 0: 6.6778529938310385 6.690732228 6.6862286410000005 Calling exit ...