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.001114/0.001114, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009313/0.0009313, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9675/0.9675, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.7772/0.7772, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.462e-06/1.462e-06, allocations: 0 / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.036e-05, allocations: 4.828 kB / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001749/0.00177, allocations: 1.309 MB / 481.3 MB, free: 5.645 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004131/0.002183, allocations: 299.7 kB / 481.6 MB, free: 5.355 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.002206, allocations: 0 / 481.6 MB, free: 5.355 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.002222, allocations: 5.875 kB / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.002264, allocations: 2.625 kB / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.002514, allocations: 47.73 kB / 481.7 MB, free: 5.312 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.002581, allocations: 18.67 kB / 481.7 MB, free: 5.301 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.002616, allocations: 8.969 kB / 481.7 MB, free: 5.293 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.002677, allocations: 7.984 kB / 481.7 MB, free: 5.285 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.002731, allocations: 9.062 kB / 481.7 MB, free: 5.277 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.002744, allocations: 1.422 kB / 481.7 MB, free: 5.277 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.002848, allocations: 55.89 kB / 481.8 MB, free: 5.223 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.00286, allocations: 6.562 kB / 481.8 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.249e-05/0.002873, allocations: 7.938 kB / 481.8 MB, free: 5.211 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.002978, allocations: 52.75 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00298, allocations: 1.5 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002981, allocations: 0 / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.002984, allocations: 0 / 481.8 MB, free: 5.16 MB / 442.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.0002427/0.003227, allocations: 237.2 kB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.003255, allocations: 10.12 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.003402, allocations: 28.84 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.8e-05/0.00346, allocations: 105.8 kB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.003469, allocations: 1.688 kB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.003479, allocations: 5.25 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.143e-05/0.00356, allocations: 65.11 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.003566, allocations: 1.094 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.003572, allocations: 4.375 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.003577, allocations: 384 / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.003599, allocations: 16.5 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.874e-05/0.003678, allocations: 65.97 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.004394, allocations: 258 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.004415, allocations: 21.5 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.004422, allocations: 0 / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.004444, allocations: 35.42 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.004445, allocations: 1.375 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 9.965e-05/0.004545, allocations: 50.8 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.00457, allocations: 55.39 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.421e-05/0.004614, allocations: 95.25 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.004625, allocations: 25.7 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.925e-05/0.004645, allocations: 85.17 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.004669, allocations: 11.89 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.004698, allocations: 18.44 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.004792, allocations: 327.9 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.004806, allocations: 4 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.004816, allocations: 5.078 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.004847, allocations: 17.61 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.004849, allocations: 0 / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.426e-05/0.004914, allocations: 50.47 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.004925, allocations: 7.938 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.004928, allocations: 5.156 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.00494, allocations: 1.5 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.004984, allocations: 11.98 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.004986, allocations: 0.9062 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.005005, allocations: 0 / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.00501, allocations: 4.875 kB / 483.4 MB, free: 3.426 MB / 442.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 6.041e-05/0.00507, allocations: 109.8 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.005079, allocations: 5.344 kB / 483.5 MB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.005099, allocations: 7.531 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005101, allocations: 0 / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.005103, allocations: 0 / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.005107, allocations: 4.609 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.696e-05/0.005174, allocations: 70.47 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005174, allocations: 0.5938 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.005196, allocations: 9.375 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.005198, allocations: 0 / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.005204, allocations: 4 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.005205, allocations: 0 / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005206, allocations: 4.688 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.184e-05/0.005277, allocations: 73.02 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.005303, allocations: 9.047 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-06/0.005311, allocations: 0 / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.005342, allocations: 4 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.005354, allocations: 0.5312 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.005359, allocations: 1.031 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.035e-05/0.005369, allocations: 8.859 kB / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005369, allocations: 0.5312 kB / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001561/0.005525, allocations: 8 kB / 483.7 MB, free: 3.074 MB / 442.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 7.955e-05/0.005605, allocations: 87.42 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.218e-05/0.005657, allocations: 17.98 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005659, allocations: 0 / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.005671, allocations: 19 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.122e-05/0.005762, allocations: 19.88 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.006101, allocations: 131.9 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.495e-05/0.006136, allocations: 63.28 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.006172, allocations: 7.219 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.006225, allocations: 55.38 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/0.006226, allocations: 1.219 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of Templates: time 0.001886/0.008113, allocations: 0.6598 MB / 484.8 MB, free: 2.008 MB / 442.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.5493391561321914]