Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.0009084/0.0009084, 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.00103/0.00103, allocations: 170.3 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.8607/0.8607, allocations: 177.1 MB / 202.8 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.00148/0.00148, allocations: 248.7 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.6485/0.6485, allocations: 138.4 MB / 454.3 MB, free: 29.95 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_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.301e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001671/0.001694, allocations: 1.299 MB / 0.6476 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2365/0.2382, allocations: 0.8423 MB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.2383, allocations: 0.5625 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.2383, allocations: 5.703 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.2383, allocations: 5.359 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.239, allocations: 203.6 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.239, allocations: 22.61 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.2391, allocations: 3.078 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.2391, allocations: 14.12 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.2392, allocations: 11.45 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2392, allocations: 1.094 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.2395, allocations: 230.5 kB / 0.6489 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.2395, allocations: 4.422 kB / 0.6489 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.2395, allocations: 3.797 kB / 0.6489 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.2398, allocations: 198.6 kB / 0.6491 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2398, allocations: 2.625 kB / 0.6491 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2398, allocations: 0 / 0.6491 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2398, allocations: 0.7812 kB / 0.6491 GB, free: 55.78 MB / 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.000314/0.2401, allocations: 285.8 kB / 0.6493 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2401, allocations: 14.94 kB / 0.6494 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.202e-05/0.2402, allocations: 32 kB / 0.6494 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.2404, allocations: 19.11 kB / 0.6494 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.026e-05/0.2404, allocations: 109.2 kB / 0.6495 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2404, allocations: 3.312 kB / 0.6495 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.2404, allocations: 2.719 kB / 0.6495 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.2405, allocations: 73.38 kB / 0.6496 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.2405, allocations: 1.672 kB / 0.6496 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.2405, allocations: 0.7812 kB / 0.6496 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2405, allocations: 2.281 kB / 0.6496 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.2406, allocations: 18.48 kB / 0.6496 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.2407, allocations: 127.6 kB / 0.6497 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.2412, allocations: 130.6 kB / 0.6498 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.2412, allocations: 21.19 kB / 0.6499 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.641e-05/0.2413, allocations: 9.078 kB / 0.6499 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.2413, allocations: 39.94 kB / 0.6499 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.2413, allocations: 0 / 0.6499 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0001438/0.2415, allocations: 62.5 kB / 0.65 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.2415, allocations: 54.83 kB / 0.65 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.793e-05/0.2415, allocations: 95.27 kB / 0.6501 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.2415, allocations: 30.52 kB / 0.6501 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.076e-06/0.2415, allocations: 84.62 kB / 0.6502 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.2416, allocations: 19.67 kB / 0.6502 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.2416, allocations: 17.72 kB / 0.6503 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.415e-05/0.2416, allocations: 313.1 kB / 0.6506 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.2416, allocations: 6.547 kB / 0.6506 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/0.2416, allocations: 13.06 kB / 0.6506 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/0.2417, allocations: 25.75 kB / 0.6506 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2417, allocations: 1.281 kB / 0.6506 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.013e-05/0.2417, allocations: 57.78 kB / 0.6507 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2417, allocations: 9.453 kB / 0.6507 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2418, allocations: 1.875 kB / 0.6507 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2418, allocations: 0.7812 kB / 0.6507 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.2418, allocations: 7.609 kB / 0.6507 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2418, allocations: 1.781 kB / 0.6507 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.2418, allocations: 1.391 kB / 0.6507 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.2418, allocations: 3.281 kB / 0.6507 GB, free: 54.34 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.625e-05/0.2419, allocations: 111.5 kB / 0.6508 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.2419, allocations: 6.25 kB / 0.6508 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.2421, allocations: 83.84 kB / 0.6509 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2421, allocations: 1.438 kB / 0.6509 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2421, allocations: 2.344 kB / 0.6509 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2421, allocations: 2.469 kB / 0.6509 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.315e-05/0.2422, allocations: 128.5 kB / 0.651 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2422, allocations: 3.406 kB / 0.651 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.2422, allocations: 7.672 kB / 0.651 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2422, allocations: 5.797 kB / 0.651 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.2422, allocations: 3.562 kB / 0.651 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2422, allocations: 0.875 kB / 0.651 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2422, allocations: 1.469 kB / 0.651 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.013e-05/0.2423, allocations: 83.47 kB / 0.6511 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.2423, allocations: 5.281 kB / 0.6511 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.2423, allocations: 5.734 kB / 0.6511 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.632e-05/0.2423, allocations: 10.11 kB / 0.6511 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.2424, allocations: 3.625 kB / 0.6511 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2424, allocations: 7.656 kB / 0.6511 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.225e-05/0.2424, allocations: 76.83 kB / 0.6512 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2424, allocations: 0 / 0.6512 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001867/0.2426, allocations: 51.72 kB / 0.6513 GB, free: 53.87 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 (5): * Single equations (assignments): 5 * 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.0003057/0.2429, allocations: 0.6892 MB / 0.6519 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.2429, allocations: 29.88 kB / 0.652 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2429, allocations: 2.625 kB / 0.652 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.243, allocations: 14.75 kB / 0.652 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.2431, allocations: 9.906 kB / 0.652 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003618/0.2435, allocations: 166.7 kB / 0.6521 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.942e-05/0.2435, allocations: 66.36 kB / 0.6522 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.2435, allocations: 13.56 kB / 0.6522 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.2436, allocations: 16.47 kB / 0.6522 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of SimCode: time 3.9e-07/0.2436, allocations: 0 / 0.6522 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.2571, allocations: 2.723 MB / 0.6549 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.495/6.752, allocations: 6.438 kB / 0.6549 GB, free: 52.18 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.244986538775265] Failed to read output from testmodel.py, exit status != 0: 6.829185542650521 6.839766398 6.597919643 Calling exit ...