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.001058/0.001058, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001208/0.001208, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.087/1.087, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.7996/0.7996, allocations: 154.6 MB / 414.8 MB, free: 0.6914 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.393e-06/1.393e-06, allocations: 0 / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.935e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002086/0.002115, allocations: 1.298 MB / 0.5216 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005007/0.002616, allocations: 301.1 kB / 0.5219 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.002645, allocations: 0 / 0.5219 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.002665, allocations: 0 / 0.5219 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.038e-05/0.002715, allocations: 5.281 kB / 0.5219 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.003023, allocations: 48.52 kB / 0.5219 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.00309, allocations: 19.94 kB / 0.522 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.003133, allocations: 9.766 kB / 0.522 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.152e-05/0.003195, allocations: 7.938 kB / 0.522 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.003245, allocations: 11.97 kB / 0.522 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.00326, allocations: 0 / 0.522 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.00337, allocations: 55.89 kB / 0.522 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.003383, allocations: 2.062 kB / 0.522 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.003405, allocations: 8 kB / 0.5221 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003529, allocations: 47.88 kB / 0.5221 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.003533, allocations: 4 kB / 0.5221 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003534, allocations: 0 / 0.5221 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.003538, allocations: 0 / 0.5221 GB, free: 0.7266 MB / 490.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.0003574/0.003895, allocations: 365.6 kB / 0.5225 GB, free: 340 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.003936, allocations: 8.031 kB / 0.5225 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.004134, allocations: 34.11 kB / 0.5225 GB, free: 300 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.004211, allocations: 104.6 kB / 0.5226 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.004222, allocations: 4.375 kB / 0.5226 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.004232, allocations: 1.344 kB / 0.5226 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.004347, allocations: 67.95 kB / 0.5227 GB, free: 84 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.004356, allocations: 9.109 kB / 0.5227 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.004367, allocations: 384 / 0.5227 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.004375, allocations: 384 / 0.5227 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.004416, allocations: 20.42 kB / 0.5227 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.004565, allocations: 117.6 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.005487, allocations: 273.7 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.005523, allocations: 23.67 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.005531, allocations: 0.75 kB / 0.5231 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.005557, allocations: 37.33 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.005559, allocations: 1.469 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001412/0.0057, allocations: 57.69 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.005727, allocations: 51.41 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.005793, allocations: 162.8 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/0.005802, allocations: 25.7 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.005832, allocations: 126.9 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.005859, allocations: 16.86 kB / 0.5235 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.005887, allocations: 23.38 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.006, allocations: 495 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.006016, allocations: 12 kB / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/0.006031, allocations: 11.98 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.006069, allocations: 27.62 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006071, allocations: 0 / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.433e-05/0.006135, allocations: 49.69 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.006148, allocations: 8 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.006153, allocations: 0 / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.006167, allocations: 6.688 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.00621, allocations: 4 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.006216, allocations: 0 / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.006234, allocations: 7.938 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006239, allocations: 4 kB / 0.5242 GB, free: 14.42 MB / 0.4948 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 6.764e-05/0.006307, allocations: 156.5 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.006318, allocations: 11.94 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.006344, allocations: 8.219 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006347, allocations: 0 / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.006351, allocations: 1.156 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.006355, allocations: 8.266 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.63e-05/0.006432, allocations: 116.6 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006433, allocations: 0.7188 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.006452, allocations: 4 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.006455, allocations: 5.484 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.006463, allocations: 3.984 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006464, allocations: 0 / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006464, allocations: 4 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.418e-05/0.006548, allocations: 89.72 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.006582, allocations: 7.938 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.006593, allocations: 0 / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/0.006618, allocations: 0 / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.006635, allocations: 8.609 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.006639, allocations: 0.8438 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.006674, allocations: 123.2 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006674, allocations: 1.656 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001197/0.006794, allocations: 11.94 kB / 0.5247 GB, free: 13.81 MB / 0.4948 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 7.889e-05/0.006873, allocations: 95.25 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.9e-05/0.006962, allocations: 30.11 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.006964, allocations: 4 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.006982, allocations: 23.61 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.007143, allocations: 12 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.007591, allocations: 136.9 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.007627, allocations: 63.28 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.007663, allocations: 3.062 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.007686, allocations: 8.5 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.007687, allocations: 0 / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.002023/0.009709, allocations: 0.6005 MB / 0.5256 GB, free: 12.83 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.889186613028869]