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.001352/0.001352, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0015/0.0015, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.797 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.002517/0.002517, allocations: 287.8 kB / 312.7 MB, free: 2.586 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.235/1.235, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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: 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: 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.002849/0.002849, allocations: 97.78 kB / 0.74 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.167, allocations: 95.38 MB / 0.8331 GB, free: 7.832 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00239/0.1694, allocations: 1.293 MB / 0.8344 GB, free: 6.523 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0005656/0.17, allocations: 275.5 kB / 0.8347 GB, free: 6.254 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.17, allocations: 4 kB / 0.8347 GB, free: 6.25 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.17, allocations: 3.984 kB / 0.8347 GB, free: 6.246 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.17, allocations: 3.938 kB / 0.8347 GB, free: 6.242 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1703, allocations: 47.75 kB / 0.8347 GB, free: 6.195 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 6.26e-05/0.1704, allocations: 23.92 kB / 0.8347 GB, free: 6.172 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.1704, allocations: 4 kB / 0.8347 GB, free: 6.168 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.1704, allocations: 4 kB / 0.8347 GB, free: 6.164 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.1705, allocations: 11.92 kB / 0.8348 GB, free: 6.152 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1705, allocations: 0 / 0.8348 GB, free: 6.152 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1706, allocations: 51.95 kB / 0.8348 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.1706, allocations: 0 / 0.8348 GB, free: 6.102 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.1706, allocations: 7.984 kB / 0.8348 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1708, allocations: 47.78 kB / 0.8349 GB, free: 6.047 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1708, allocations: 4 kB / 0.8349 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1708, allocations: 4 kB / 0.8349 GB, free: 6.039 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.1708, allocations: 0 / 0.8349 GB, free: 6.039 MB / 0.5763 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.0003538/0.1711, allocations: 262.3 kB / 0.8351 GB, free: 5.75 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1712, allocations: 9.938 kB / 0.8351 GB, free: 5.742 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.1714, allocations: 16.92 kB / 0.8351 GB, free: 5.727 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.847e-05/0.1715, allocations: 106.5 kB / 0.8352 GB, free: 5.598 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1715, allocations: 4.375 kB / 0.8352 GB, free: 5.594 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1715, allocations: 4.312 kB / 0.8353 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.1716, allocations: 67.95 kB / 0.8353 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.1716, allocations: 4.188 kB / 0.8353 GB, free: 5.508 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1716, allocations: 3.938 kB / 0.8353 GB, free: 5.504 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1716, allocations: 3.938 kB / 0.8353 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.1717, allocations: 15.98 kB / 0.8353 GB, free: 5.484 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.1718, allocations: 109.3 kB / 0.8354 GB, free: 5.348 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.1736, allocations: 270.4 kB / 0.8357 GB, free: 5.074 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.1737, allocations: 20.84 kB / 0.8357 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.1737, allocations: 0 / 0.8357 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1737, allocations: 30.56 kB / 0.8358 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1737, allocations: 0 / 0.8358 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of matching and sorting (n=4): time 0.0001549/0.1739, allocations: 69.58 kB / 0.8358 GB, free: 4.938 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1739, allocations: 55.41 kB / 0.8359 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.174, allocations: 93.84 kB / 0.836 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.174, allocations: 29.7 kB / 0.836 GB, free: 4.734 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.174, allocations: 84.27 kB / 0.8361 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.1741, allocations: 19.83 kB / 0.8361 GB, free: 4.629 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.1741, allocations: 17.72 kB / 0.8361 GB, free: 4.605 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1742, allocations: 310.8 kB / 0.8364 GB, free: 4.293 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.1742, allocations: 11.98 kB / 0.8364 GB, free: 4.281 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.458e-05/0.1743, allocations: 4 kB / 0.8364 GB, free: 4.277 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.697e-05/0.1743, allocations: 29.12 kB / 0.8364 GB, free: 4.246 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1743, allocations: 0 / 0.8364 GB, free: 4.246 MB / 0.5763 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.228e-05/0.1744, allocations: 53.69 kB / 0.8365 GB, free: 4.188 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1744, allocations: 4 kB / 0.8365 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.1744, allocations: 0 / 0.8365 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1744, allocations: 11.94 kB / 0.8365 GB, free: 4.172 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.761e-05/0.1745, allocations: 11.94 kB / 0.8365 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1745, allocations: 0 / 0.8365 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.1745, allocations: 3.984 kB / 0.8365 GB, free: 4.156 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.1745, allocations: 0 / 0.8365 GB, free: 4.156 MB / 0.5763 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.012e-05/0.1746, allocations: 110.5 kB / 0.8366 GB, free: 4.039 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.1746, allocations: 0 / 0.8366 GB, free: 4.039 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.1746, allocations: 7.531 kB / 0.8366 GB, free: 4.023 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1746, allocations: 7.938 kB / 0.8366 GB, free: 4.016 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1746, allocations: 0 / 0.8366 GB, free: 4.016 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1746, allocations: 4 kB / 0.8367 GB, free: 4.012 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.123e-05/0.1747, allocations: 105.3 kB / 0.8368 GB, free: 3.879 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1747, allocations: 3.984 kB / 0.8368 GB, free: 3.875 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.1748, allocations: 7.938 kB / 0.8368 GB, free: 3.867 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1748, allocations: 8 kB / 0.8368 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1748, allocations: 0 / 0.8368 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1748, allocations: 0 / 0.8368 GB, free: 3.859 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.1748, allocations: 3.938 kB / 0.8368 GB, free: 3.855 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1749, allocations: 85.02 kB / 0.8369 GB, free: 3.754 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.175, allocations: 7.938 kB / 0.8369 GB, free: 3.746 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.175, allocations: 3.984 kB / 0.8369 GB, free: 3.742 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.175, allocations: 4 kB / 0.8369 GB, free: 3.738 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.175, allocations: 7.938 kB / 0.8369 GB, free: 3.73 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.175, allocations: 4 kB / 0.8369 GB, free: 3.727 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.1751, allocations: 75.28 kB / 0.837 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.1751, allocations: 0 / 0.837 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001754/0.1753, allocations: 8 kB / 0.837 GB, free: 3.645 MB / 0.5763 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.000104/0.1754, allocations: 95.25 kB / 0.8371 GB, free: 3.539 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.1754, allocations: 23.98 kB / 0.8371 GB, free: 3.516 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1754, allocations: 4.094 kB / 0.8371 GB, free: 3.512 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.1755, allocations: 15.92 kB / 0.8371 GB, free: 3.496 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.1757, allocations: 8 kB / 0.8371 GB, free: 3.488 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.1759, allocations: 126.7 kB / 0.8372 GB, free: 3.344 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.176, allocations: 63.34 kB / 0.8373 GB, free: 3.262 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.176, allocations: 4 kB / 0.8373 GB, free: 3.258 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.1761, allocations: 11.44 kB / 0.8373 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of SimCode: time 2.8e-07/0.1761, allocations: 0 / 0.8373 GB, free: 3.246 MB / 0.5763 GB Notification: Performance of Templates: time 0.00262/0.1787, allocations: 0.5474 MB / 0.8378 GB, free: 2.711 MB / 0.5763 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.9620953518897295] Failed to read output from testmodel.py, exit status != 0: 0.18571087531745434 0.20070353800000001 0.026973112 Calling exit ...