Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001857/0.001857, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.001475/0.001475, allocations: 161.6 kB / 23.02 MB, free: 4.945 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.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8273/0.8273, allocations: 101.3 MB / 361.1 MB, free: 9.523 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 660] "Notification: IDEAS 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.002194/0.002194, allocations: 66 kB / 0.5356 GB, free: 5.195 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1432, allocations: 85.88 MB / 0.6195 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002497/0.1457, allocations: 1.278 MB / 0.6207 GB, free: 288 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006207/0.1463, allocations: 283.5 kB / 0.621 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.1463, allocations: 0 / 0.621 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.1463, allocations: 0 / 0.621 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.1464, allocations: 8.047 kB / 0.621 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1467, allocations: 51.73 kB / 0.6211 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.561e-05/0.1468, allocations: 11.94 kB / 0.6211 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.1468, allocations: 8 kB / 0.6211 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.1468, allocations: 7.828 kB / 0.6211 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.1469, allocations: 7.984 kB / 0.6211 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.1469, allocations: 0 / 0.6211 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.147, allocations: 47.95 kB / 0.6212 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.147, allocations: 15.92 kB / 0.6212 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.1471, allocations: 7.938 kB / 0.6212 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.1472, allocations: 55.81 kB / 0.6212 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1472, allocations: 0 / 0.6212 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1472, allocations: 0 / 0.6212 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.1472, allocations: 0 / 0.6212 GB, free: 15.79 MB / 0.5294 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.00037/0.1476, allocations: 258.3 kB / 0.6215 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1476, allocations: 8.031 kB / 0.6215 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.1478, allocations: 16.92 kB / 0.6215 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.148, allocations: 110.5 kB / 0.6216 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.148, allocations: 12.36 kB / 0.6216 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.148, allocations: 4.312 kB / 0.6216 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1481, allocations: 67.95 kB / 0.6217 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1481, allocations: 192 / 0.6217 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1481, allocations: 7.938 kB / 0.6217 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1481, allocations: 0 / 0.6217 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.1482, allocations: 12 kB / 0.6217 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1483, allocations: 113.3 kB / 0.6218 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.1504, allocations: 270.4 kB / 0.6221 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.1504, allocations: 16.86 kB / 0.6221 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.1504, allocations: 0 / 0.6221 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1504, allocations: 30.56 kB / 0.6221 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1504, allocations: 0 / 0.6221 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001735/0.1506, allocations: 69.58 kB / 0.6222 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1507, allocations: 63.39 kB / 0.6222 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.271e-05/0.1507, allocations: 93.8 kB / 0.6223 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1508, allocations: 25.7 kB / 0.6224 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.1508, allocations: 80.14 kB / 0.6224 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1508, allocations: 11.95 kB / 0.6224 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.1509, allocations: 17.67 kB / 0.6225 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.151, allocations: 318.8 kB / 0.6228 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.151, allocations: 4 kB / 0.6228 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.151, allocations: 8 kB / 0.6228 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.1511, allocations: 24.86 kB / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1511, allocations: 4.125 kB / 0.6228 GB, free: 14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.22e-05/0.1512, allocations: 53.69 kB / 0.6229 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1512, allocations: 4 kB / 0.6229 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1512, allocations: 3.938 kB / 0.6229 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1512, allocations: 7.938 kB / 0.6229 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/0.1513, allocations: 7.984 kB / 0.6229 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1513, allocations: 0 / 0.6229 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.1513, allocations: 0 / 0.6229 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1513, allocations: 7.938 kB / 0.6229 GB, free: 13.91 MB / 0.5294 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 9.148e-05/0.1514, allocations: 114.9 kB / 0.623 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-06/0.1514, allocations: 4 kB / 0.623 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.1515, allocations: 15.47 kB / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.1515, allocations: 3.938 kB / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1515, allocations: 0 / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1515, allocations: 0 / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.968e-05/0.1516, allocations: 105.3 kB / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1516, allocations: 0 / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.1516, allocations: 8 kB / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1516, allocations: 0 / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1516, allocations: 0 / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1516, allocations: 0 / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1516, allocations: 7.938 kB / 0.6231 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.1518, allocations: 81.39 kB / 0.6232 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1518, allocations: 15.97 kB / 0.6232 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.1518, allocations: 0 / 0.6232 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.1519, allocations: 4 kB / 0.6232 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.1519, allocations: 7.938 kB / 0.6232 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1519, allocations: 0 / 0.6232 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.1519, allocations: 75.28 kB / 0.6233 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1519, allocations: 4 kB / 0.6233 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001934/0.1521, allocations: 8 kB / 0.6233 GB, free: 13.4 MB / 0.5294 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.0001098/0.1522, allocations: 99.33 kB / 0.6234 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.53e-05/0.1523, allocations: 23.94 kB / 0.6234 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1523, allocations: 0 / 0.6234 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.732e-05/0.1523, allocations: 15.98 kB / 0.6235 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1526, allocations: 20.61 kB / 0.6235 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.1529, allocations: 122.6 kB / 0.6236 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.11e-05/0.1529, allocations: 63.34 kB / 0.6236 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.153, allocations: 4 kB / 0.6237 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.153, allocations: 8.5 kB / 0.6237 GB, free: 13 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.153, allocations: 4 kB / 0.6237 GB, free: 13 MB / 0.5294 GB Notification: Performance of Templates: time 0.002807/0.1558, allocations: 0.5322 MB / 0.6242 GB, free: 12.47 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.257492084987462] Failed to read output from testmodel.py, exit status != 0: 0.16340669500641525 0.17941784100000002 0.029019959 Calling exit ...