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.001296/0.001296, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001456/0.001456, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.002501/0.002501, allocations: 235.2 kB / 259.4 MB, free: 476 kB / 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.087/1.087, allocations: 138.4 MB / 454.3 MB, free: 2.031 MB / 366.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: Performance of FrontEnd - loaded program: time 3.376e-06/3.376e-06, allocations: 3.984 kB / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.928e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002261/0.00229, allocations: 1.282 MB / 0.6481 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005435/0.002833, allocations: 272.3 kB / 0.6483 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.002859, allocations: 0 / 0.6483 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.002876, allocations: 4 kB / 0.6483 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.00291, allocations: 11.86 kB / 0.6483 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.003207, allocations: 47.75 kB / 0.6484 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.003273, allocations: 15.94 kB / 0.6484 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.003311, allocations: 7.984 kB / 0.6484 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.003358, allocations: 15.86 kB / 0.6484 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.003397, allocations: 4 kB / 0.6484 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.003409, allocations: 0 / 0.6484 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.003535, allocations: 55.88 kB / 0.6485 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.003551, allocations: 8 kB / 0.6485 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.003566, allocations: 4 kB / 0.6485 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.003702, allocations: 55.88 kB / 0.6485 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.003705, allocations: 0 / 0.6485 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003706, allocations: 0 / 0.6485 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.003714, allocations: 0 / 0.6485 GB, free: 3.227 MB / 0.5606 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.0003526/0.004066, allocations: 262.2 kB / 0.6488 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004101, allocations: 13.34 kB / 0.6488 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.004306, allocations: 16.91 kB / 0.6488 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.946e-05/0.004405, allocations: 105.8 kB / 0.6489 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.004412, allocations: 4.375 kB / 0.6489 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.004422, allocations: 384 / 0.6489 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.004548, allocations: 67.95 kB / 0.649 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.004555, allocations: 192 / 0.649 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.004566, allocations: 4.375 kB / 0.649 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.004572, allocations: 4.375 kB / 0.649 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.004627, allocations: 23.86 kB / 0.649 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.004771, allocations: 105.3 kB / 0.6491 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.006756, allocations: 266.4 kB / 0.6494 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.0068, allocations: 20.84 kB / 0.6494 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.006809, allocations: 0 / 0.6494 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.006839, allocations: 38.56 kB / 0.6494 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.00684, allocations: 0 / 0.6494 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.000172/0.007012, allocations: 61.62 kB / 0.6495 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.007048, allocations: 51.41 kB / 0.6495 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.007116, allocations: 101.8 kB / 0.6496 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.007134, allocations: 25.7 kB / 0.6497 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.007181, allocations: 84.14 kB / 0.6497 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.007213, allocations: 15.83 kB / 0.6498 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.007251, allocations: 21.7 kB / 0.6498 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.007392, allocations: 314.8 kB / 0.6501 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.007414, allocations: 8 kB / 0.6501 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/0.007433, allocations: 8 kB / 0.6501 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.956e-05/0.007493, allocations: 36.72 kB / 0.6501 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.007494, allocations: 0 / 0.6501 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.557e-05/0.00758, allocations: 57.81 kB / 0.6502 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.007594, allocations: 8 kB / 0.6502 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007597, allocations: 3.938 kB / 0.6502 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.007608, allocations: 0 / 0.6502 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.007665, allocations: 4 kB / 0.6502 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.007669, allocations: 0 / 0.6502 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.007703, allocations: 7.938 kB / 0.6502 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.007707, allocations: 0 / 0.6502 GB, free: 1.34 MB / 0.5606 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 7.437e-05/0.007781, allocations: 105.8 kB / 0.6503 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.007793, allocations: 4 kB / 0.6503 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.007825, allocations: 15.52 kB / 0.6503 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007827, allocations: 0 / 0.6503 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.00783, allocations: 0 / 0.6503 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.007841, allocations: 3.938 kB / 0.6503 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.501e-05/0.007936, allocations: 109.2 kB / 0.6504 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.007939, allocations: 4 kB / 0.6504 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.007985, allocations: 8 kB / 0.6504 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007986, allocations: 0 / 0.6504 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.007996, allocations: 4 kB / 0.6504 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007997, allocations: 0 / 0.6504 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.008001, allocations: 3.984 kB / 0.6504 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.008121, allocations: 85.39 kB / 0.6505 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.008153, allocations: 0 / 0.6505 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.008163, allocations: 0 / 0.6505 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-05/0.008213, allocations: 4 kB / 0.6505 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.008236, allocations: 8.016 kB / 0.6505 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.008244, allocations: 4 kB / 0.6505 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.008282, allocations: 79.28 kB / 0.6506 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.008282, allocations: 0 / 0.6506 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001848/0.008467, allocations: 11.88 kB / 0.6506 GB, free: 0.8359 MB / 0.5606 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.0001166/0.008584, allocations: 99.34 kB / 0.6507 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.008674, allocations: 23.98 kB / 0.6507 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008675, allocations: 4 kB / 0.6508 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.008697, allocations: 8 kB / 0.6508 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.008912, allocations: 11.98 kB / 0.6508 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.009222, allocations: 124.7 kB / 0.6509 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.00928, allocations: 67.23 kB / 0.651 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.009316, allocations: 0 / 0.651 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.009344, allocations: 12.5 kB / 0.651 GB, free: 444 kB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.009344, allocations: 0 / 0.651 GB, free: 444 kB / 0.5606 GB Notification: Performance of Templates: time 0.2364/0.2458, allocations: 0.5404 MB / 0.6515 GB, free: 56.81 MB / 0.5606 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.644540101289749] Failed to read output from testmodel.py, exit status != 0: 0.2534770704805851 0.26234564600000004 0.256527023 Calling exit ...