Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002469/0.002469, allocations: 191.3 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.13/1.13, allocations: 177.9 MB / 484.2 MB, free: 5.383 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 64.77 kB / 0.674 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7021, allocations: 95.17 MB / 0.7669 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002724/0.7048, allocations: 1.281 MB / 0.7682 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.7062, allocations: 0.838 MB / 0.769 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.7063, allocations: 0 / 0.769 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.7063, allocations: 4.453 kB / 0.769 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.7063, allocations: 2.047 kB / 0.769 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.7069, allocations: 139.9 kB / 0.7691 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.707, allocations: 36.59 kB / 0.7692 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.707, allocations: 1.5 kB / 0.7692 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.7071, allocations: 11.95 kB / 0.7692 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.7072, allocations: 9.906 kB / 0.7692 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.7072, allocations: 1.594 kB / 0.7692 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.7075, allocations: 170 kB / 0.7694 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.7076, allocations: 8.625 kB / 0.7694 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.7076, allocations: 7.031 kB / 0.7694 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.7079, allocations: 125.8 kB / 0.7695 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7079, allocations: 0 / 0.7695 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.572e-06/0.7079, allocations: 0 / 0.7695 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.7079, allocations: 0 / 0.7695 GB, free: 6.641 MB / 0.5762 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.0005448/0.7084, allocations: 285.2 kB / 0.7698 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.7085, allocations: 8.844 kB / 0.7698 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.7086, allocations: 7.375 kB / 0.7698 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.7087, allocations: 115.3 kB / 0.7699 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.46e-05/0.7087, allocations: 28.45 kB / 0.7699 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.7088, allocations: 5.562 kB / 0.7699 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.7089, allocations: 48.36 kB / 0.77 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.7089, allocations: 5.281 kB / 0.77 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.709, allocations: 0 / 0.77 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.709, allocations: 1.469 kB / 0.77 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.7091, allocations: 16.86 kB / 0.77 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.7093, allocations: 126.4 kB / 0.7701 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.7095, allocations: 48.88 kB / 0.7702 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.7096, allocations: 13.69 kB / 0.7702 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/0.7099, allocations: 27.69 kB / 0.7702 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.7099, allocations: 36.61 kB / 0.7702 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.7099, allocations: 0 / 0.7702 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003012/0.7102, allocations: 78.33 kB / 0.7703 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.7102, allocations: 53 kB / 0.7704 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.065e-05/0.7103, allocations: 93.27 kB / 0.7704 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.7103, allocations: 29.7 kB / 0.7705 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.7103, allocations: 84.58 kB / 0.7706 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.7104, allocations: 10.73 kB / 0.7706 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.7104, allocations: 19.88 kB / 0.7706 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.7105, allocations: 315.9 kB / 0.7709 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.7105, allocations: 10 kB / 0.7709 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-05/0.7106, allocations: 10.66 kB / 0.7709 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.7107, allocations: 30.3 kB / 0.7709 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7107, allocations: 0 / 0.7709 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001331/0.7108, allocations: 60.88 kB / 0.771 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.7108, allocations: 9.375 kB / 0.771 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.7108, allocations: 0 / 0.771 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.7108, allocations: 5.25 kB / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.7109, allocations: 7.875 kB / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7109, allocations: 0 / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.7109, allocations: 1.969 kB / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.7109, allocations: 1.125 kB / 0.771 GB, free: 5.145 MB / 0.5762 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.344e-05/0.711, allocations: 122 kB / 0.7711 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.711, allocations: 10.05 kB / 0.7711 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.7112, allocations: 66.47 kB / 0.7712 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7112, allocations: 3.312 kB / 0.7712 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.7112, allocations: 0 / 0.7712 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.7112, allocations: 0.9062 kB / 0.7712 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.495e-05/0.7113, allocations: 124.8 kB / 0.7713 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7113, allocations: 0 / 0.7713 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.7114, allocations: 8.422 kB / 0.7713 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7114, allocations: 4.625 kB / 0.7713 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.7114, allocations: 1.188 kB / 0.7713 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.7114, allocations: 6.297 kB / 0.7713 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7114, allocations: 1.25 kB / 0.7713 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.7115, allocations: 85.08 kB / 0.7714 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.7116, allocations: 13.17 kB / 0.7714 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.7116, allocations: 5.016 kB / 0.7714 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.7117, allocations: 4.531 kB / 0.7714 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.7117, allocations: 2 kB / 0.7714 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.7117, allocations: 1.453 kB / 0.7715 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.291e-05/0.7117, allocations: 91.89 kB / 0.7715 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.7117, allocations: 3.938 kB / 0.7715 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002764/0.712, allocations: 31.19 kB / 0.7716 GB, free: 4.609 MB / 0.5762 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.0002868/0.7123, allocations: 133.9 kB / 0.7717 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.7125, allocations: 29.34 kB / 0.7717 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7125, allocations: 1.031 kB / 0.7717 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.769e-05/0.7126, allocations: 15.77 kB / 0.7717 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.7128, allocations: 13.77 kB / 0.7718 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.7132, allocations: 131.2 kB / 0.7719 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.7133, allocations: 0.6776 MB / 0.7725 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.246e-05/0.7134, allocations: 14.7 kB / 0.7726 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.7134, allocations: 10.09 kB / 0.7726 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.7134, allocations: 0 / 0.7726 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of Templates: time 0.004972/0.7184, allocations: 1.084 MB / 0.7736 GB, free: 3.52 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.78591167088598] Failed to read output from testmodel.py, exit status != 0: 0.7281278120353818 0.75632505 0.042926938000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7a116d97b0>