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.001413/0.001413, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.00151/0.00151, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9709/0.9709, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7852/0.7852, allocations: 154.6 MB / 415.6 MB, free: 0.5273 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5215 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.116e-05, allocations: 2.312 kB / 0.5215 GB, free: 0.832 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002189/0.00221, allocations: 1.308 MB / 0.5228 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005288/0.002739, allocations: 288 kB / 0.5231 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.002772, allocations: 3.938 kB / 0.5231 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.00279, allocations: 1.094 kB / 0.5231 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.951e-05/0.00284, allocations: 4.703 kB / 0.5231 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.003133, allocations: 57.02 kB / 0.5232 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.003193, allocations: 11.94 kB / 0.5232 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.003235, allocations: 4.828 kB / 0.5232 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.003307, allocations: 19.88 kB / 0.5232 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.00336, allocations: 10.5 kB / 0.5232 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.003374, allocations: 4 kB / 0.5232 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.003488, allocations: 51.89 kB / 0.5232 GB, free: 15.1 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.003501, allocations: 0 / 0.5232 GB, free: 15.1 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.003516, allocations: 4 kB / 0.5233 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.003651, allocations: 51.88 kB / 0.5233 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003653, allocations: 4 kB / 0.5233 GB, free: 15.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003653, allocations: 0.7188 kB / 0.5233 GB, free: 15.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.003657, allocations: 0 / 0.5233 GB, free: 15.04 MB / 458.7 MB 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.0003458/0.004003, allocations: 365.4 kB / 0.5237 GB, free: 14.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.004041, allocations: 8.031 kB / 0.5237 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.004244, allocations: 25.72 kB / 0.5237 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.085e-05/0.004325, allocations: 113.2 kB / 0.5238 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.004337, allocations: 384 / 0.5238 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.004348, allocations: 9.312 kB / 0.5238 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.991e-05/0.004447, allocations: 63.95 kB / 0.5239 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.004457, allocations: 1.156 kB / 0.5239 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.004465, allocations: 4.312 kB / 0.5239 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.004471, allocations: 4.375 kB / 0.5239 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.287e-05/0.004504, allocations: 12.42 kB / 0.5239 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.004639, allocations: 102.2 kB / 0.524 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.006079, allocations: 273.6 kB / 0.5242 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.006114, allocations: 19.67 kB / 0.5243 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.006121, allocations: 0.75 kB / 0.5243 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.006145, allocations: 33.39 kB / 0.5243 GB, free: 13.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.006146, allocations: 1.25 kB / 0.5243 GB, free: 13.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.000132/0.006278, allocations: 57.62 kB / 0.5244 GB, free: 13.85 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.006308, allocations: 51.41 kB / 0.5244 GB, free: 13.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.006381, allocations: 154.8 kB / 0.5245 GB, free: 13.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.006396, allocations: 26.86 kB / 0.5246 GB, free: 13.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.006437, allocations: 126.9 kB / 0.5247 GB, free: 13.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.006471, allocations: 23.83 kB / 0.5247 GB, free: 13.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.006506, allocations: 22.27 kB / 0.5247 GB, free: 13.41 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.006649, allocations: 0.4883 MB / 0.5252 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.006662, allocations: 4 kB / 0.5252 GB, free: 12.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.182e-05/0.006674, allocations: 4 kB / 0.5252 GB, free: 12.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.006715, allocations: 27.61 kB / 0.5253 GB, free: 12.87 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006717, allocations: 4 kB / 0.5253 GB, free: 12.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.231e-05/0.006789, allocations: 45.97 kB / 0.5253 GB, free: 12.81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.006804, allocations: 10.5 kB / 0.5253 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006808, allocations: 3.078 kB / 0.5253 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.006819, allocations: 7.922 kB / 0.5253 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.006868, allocations: 4 kB / 0.5253 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.006871, allocations: 0 / 0.5253 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.006895, allocations: 4 kB / 0.5253 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006902, allocations: 7.922 kB / 0.5253 GB, free: 12.78 MB / 458.7 MB 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.559e-05/0.006977, allocations: 156.5 kB / 0.5255 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.006991, allocations: 9.5 kB / 0.5255 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.007013, allocations: 3.531 kB / 0.5255 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007015, allocations: 0 / 0.5255 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.007018, allocations: 3.984 kB / 0.5255 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007021, allocations: 0 / 0.5255 GB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.221e-05/0.007113, allocations: 110.5 kB / 0.5256 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007114, allocations: 0 / 0.5256 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.007148, allocations: 8 kB / 0.5256 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00715, allocations: 1.281 kB / 0.5256 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.007155, allocations: 4 kB / 0.5256 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.007156, allocations: 0 / 0.5256 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007158, allocations: 0 / 0.5256 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.007264, allocations: 85.19 kB / 0.5257 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.007293, allocations: 7.984 kB / 0.5257 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.007306, allocations: 11.06 kB / 0.5257 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.46e-05/0.007341, allocations: 3.938 kB / 0.5257 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.007352, allocations: 0 / 0.5257 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.007357, allocations: 0 / 0.5257 GB, free: 12.33 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.007395, allocations: 127.2 kB / 0.5258 GB, free: 12.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007395, allocations: 0 / 0.5258 GB, free: 12.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.007583, allocations: 4 kB / 0.5258 GB, free: 12.2 MB / 458.7 MB 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 8.534e-05/0.007668, allocations: 101.7 kB / 0.5259 GB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.75e-05/0.007746, allocations: 23.67 kB / 0.526 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.007747, allocations: 0 / 0.526 GB, free: 12.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.028e-05/0.007768, allocations: 19.62 kB / 0.526 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.007962, allocations: 17.2 kB / 0.526 GB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.008369, allocations: 129.7 kB / 0.5261 GB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.008409, allocations: 59.3 kB / 0.5262 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.008452, allocations: 4.219 kB / 0.5262 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.008526, allocations: 82.19 kB / 0.5263 GB, free: 11.71 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008527, allocations: 0 / 0.5263 GB, free: 11.71 MB / 458.7 MB Notification: Performance of Templates: time 0.002348/0.01087, allocations: 0.6691 MB / 0.5269 GB, free: 11.09 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.909932757727802]