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.0007717/0.0007717, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009412/0.0009412, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8948/0.8948, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.002089/0.002089, allocations: 227.2 kB / 260.2 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.653/0.653, allocations: 138.4 MB / 455.1 MB, free: 1.656 MB / 362.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: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6475 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.535e-05, allocations: 3.562 kB / 0.6475 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001517/0.001543, allocations: 1.266 MB / 0.6488 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.001903, allocations: 285.8 kB / 0.649 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.104e-05/0.001924, allocations: 0 / 0.649 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.001941, allocations: 0 / 0.649 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.001978, allocations: 5.203 kB / 0.6491 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.002217, allocations: 60.48 kB / 0.6491 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.002276, allocations: 24.23 kB / 0.6491 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.002312, allocations: 2.281 kB / 0.6491 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.002359, allocations: 8.828 kB / 0.6491 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.0024, allocations: 7.562 kB / 0.6491 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.002412, allocations: 1.188 kB / 0.6492 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.002494, allocations: 52.69 kB / 0.6492 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.002505, allocations: 1.219 kB / 0.6492 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.57e-05/0.002521, allocations: 8.156 kB / 0.6492 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.00263, allocations: 57.56 kB / 0.6493 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002632, allocations: 0 / 0.6493 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002633, allocations: 4 kB / 0.6493 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002637, allocations: 0 / 0.6493 GB, free: 27.44 MB / 0.5105 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.0002536/0.00289, allocations: 259.1 kB / 0.6495 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.002925, allocations: 9.969 kB / 0.6495 GB, free: 27.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.003062, allocations: 16.2 kB / 0.6495 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.666e-05/0.003109, allocations: 106.8 kB / 0.6496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.003118, allocations: 1.625 kB / 0.6496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.003126, allocations: 6.656 kB / 0.6496 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.032e-05/0.003216, allocations: 66.92 kB / 0.6497 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.003222, allocations: 4.188 kB / 0.6497 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.003232, allocations: 2.156 kB / 0.6497 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003236, allocations: 4.312 kB / 0.6497 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.003274, allocations: 23.64 kB / 0.6497 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.908e-05/0.003354, allocations: 106.6 kB / 0.6498 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.004179, allocations: 263.4 kB / 0.6501 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.004206, allocations: 24.34 kB / 0.6501 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.004216, allocations: 0.7188 kB / 0.6501 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.004229, allocations: 32.97 kB / 0.6502 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.00423, allocations: 0 / 0.6502 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001253/0.004355, allocations: 69.38 kB / 0.6502 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.604e-05/0.004371, allocations: 51.41 kB / 0.6503 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.939e-05/0.004401, allocations: 99.56 kB / 0.6504 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.004407, allocations: 27.58 kB / 0.6504 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-06/0.004414, allocations: 84.14 kB / 0.6505 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.004436, allocations: 9.688 kB / 0.6505 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.00446, allocations: 17.25 kB / 0.6505 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.735e-05/0.004488, allocations: 312.6 kB / 0.6508 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.004502, allocations: 11.58 kB / 0.6508 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.004513, allocations: 9.406 kB / 0.6508 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/0.004544, allocations: 27.11 kB / 0.6508 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004546, allocations: 1.875 kB / 0.6508 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.298e-05/0.004589, allocations: 52.61 kB / 0.6509 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.0046, allocations: 4.625 kB / 0.6509 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.004603, allocations: 4 kB / 0.6509 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.004613, allocations: 1.594 kB / 0.6509 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/0.004646, allocations: 9.062 kB / 0.6509 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.00465, allocations: 0 / 0.6509 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.004664, allocations: 5.219 kB / 0.6509 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.004668, allocations: 12.95 kB / 0.6509 GB, free: 25.88 MB / 0.5105 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.345e-05/0.004702, allocations: 113 kB / 0.651 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.00471, allocations: 1.5 kB / 0.651 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.004729, allocations: 7.531 kB / 0.651 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.004731, allocations: 1.406 kB / 0.651 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.004735, allocations: 7.938 kB / 0.6511 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.004738, allocations: 3.938 kB / 0.6511 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.791e-05/0.004776, allocations: 106 kB / 0.6512 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004776, allocations: 1.531 kB / 0.6512 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.004793, allocations: 7.891 kB / 0.6512 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.004794, allocations: 1.156 kB / 0.6512 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.004799, allocations: 0 / 0.6512 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.0048, allocations: 1.125 kB / 0.6512 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.004801, allocations: 0 / 0.6512 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.283e-05/0.004854, allocations: 83.3 kB / 0.6512 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.004885, allocations: 9.094 kB / 0.6513 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.597e-06/0.004894, allocations: 5.156 kB / 0.6513 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.004921, allocations: 9.172 kB / 0.6513 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.004933, allocations: 1.094 kB / 0.6513 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.004936, allocations: 2.188 kB / 0.6513 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.001e-05/0.004946, allocations: 80.41 kB / 0.6514 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.004946, allocations: 0 / 0.6514 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001168/0.005063, allocations: 10.31 kB / 0.6514 GB, free: 25.42 MB / 0.5105 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 5.334e-05/0.005117, allocations: 93.75 kB / 0.6515 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.744e-05/0.005184, allocations: 25.36 kB / 0.6515 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.005185, allocations: 5.094 kB / 0.6515 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.005198, allocations: 15.64 kB / 0.6515 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.005342, allocations: 9.578 kB / 0.6515 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.005561, allocations: 149.8 kB / 0.6516 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.258e-05/0.005594, allocations: 65.02 kB / 0.6517 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.005616, allocations: 10.75 kB / 0.6517 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of SimCode: time 3.5e-07/0.005616, allocations: 4 kB / 0.6517 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.001169/0.006785, allocations: 0.5477 MB / 0.6523 GB, free: 24.79 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.098344800062478] Failed to read output from testmodel.py, exit status != 0: 0.010736960917711258 0.017584218000000002 0.013142007 Calling exit ...